clear

HTML (DHTML)

clear Method

Internet Development Index

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 Non-Microsoft link.

Applies To

selection