getSelection method
Returns an object that represents the current selection of the document.
![]() ![]() |
Syntax
object.getSelection(ppIHTMLSelection)Parameters
- ppIHTMLSelection [out, retval]
-
Type: IHTMLSelection
An HTMLSelection object that represents the current selection, if any.
Return value
Type: IHTMLSelection
An HTMLSelection object that represents the current selection, if any.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 6.6.1
See also
Show:

