Clears the contents of the selection.
Syntax
selection.clear()
Return Value
No return value.
Standards Information
This method is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
selection