empty method (selection)
Cancels the current selection.
To remove the contents of the current selection from the document, use the clear method.
You can find the related objects in the Supported by objects section below.
This method has no return value.
Example HTML code 1:
This example shows how to cancel the selection in different browsers:
Did you find this example helpful?
User Contributed Comments