Javascript Reference
Categories: selection

javascript selection removeAllRanges( )

@March 15, 2008, 1:22 a.m.
removeAllRanges( )Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM n/a  

  

Removes all Range objects from the current selection (not from the document tree). The selection collapses, and the rangeCount property value changes to zero.

 
Parameters

None.

 
Returned Value

None.


Powered by Linode.