Javascript Reference
Categories: selection

javascript selection collapseToEnd( ), collapseToStart( )

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

  

Collapses the current selection to a location at the start (collapseToStart( )) or end (collapseToEnd( )) of the selection object. Any previously highlighted selection returns to normal display. If the selection consists of multiple ranges, the start or end boundary used for these collapse methods are at the outermost edges of the combined selection. After the collapse, the selection contains only one range.

 
Parameters

None.

 
Returned Value

None.


Powered by Linode.