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  

addRange(RangeReference)

  

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.

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

None.


Powered by Linode.