July 1998
Intermediate to advanced
1456 pages
65h 5m
English
clear( ) — NN n/a IE 4 DOM n/a
Deletes the content of the current selection in a document. For
example, the event handler in the following tag deletes any selected
text of the P element two seconds after the user
starts making the selection:
<P onSelectStart="setTimeout('document.selection.clear( )',2000)">None.
None.
Read now
Unlock full access