Name

empty( ) — NN n/a IE 4 DOM n/a

Synopsis

Deselects the current selection and sets the selection object’s type property to None. There is no change to the content that had been selected.

Returned Value

None.

Parameters

None.

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.