Javascript Reference
Categories: selection

javascript selection addRange( )

@May 11, 2009, 9:01 a.m.
addRange( ) Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM n/a  



Turns a Range into a highlighted selection on the page. You can add as many discontiguous ranges to the selection as your application requires. Each addition increments the selection object's rangeCount property. Ranges may also overlap in a selection.

  • Reference to a Range object with boundaries that have been established by Range object methods.
Returned Value


Powered by Linode.