empty method

Removes all ranges of the selection.

Syntax

HTMLSelection.empty();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

This method is supported for site compatibility purposes. It performs the same function as the standards-based removeAllRanges method.

See also

HTMLSelection

 

 

Show: