javascript selection addRange( )

addRange( ) NN 6 IE n/a 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.


1744,Nickname,Homepage or email,Comments here,Add comment