Javascript Reference
Categories: window

javascript window getSelection( )

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

  

Returns a selection object, which can then be turned into a W3C DOM Range object. This method takes the place of the old document.getSelection( ) method, which is deprecated in Netscape 6. The corresponding IE operation is the document.selection property. See the selection object for details on working with a selection.

 
Parameters

None.

 
Returned Value

selection object reference.


Powered by Linode.