This topic has not yet been rated - Rate this topic

clear method

[This documentation is preliminary and is subject to change.]

Clears the contents of the selection.

Document Object Model (DOM) Level 2 HTML Specification, Section 1.6.5

Syntax

var retval = selection.clear();

Standards information

Parameters

This method has no parameters.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

 

 

Build date: 3/8/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
crashes on ie7 and vista

This crashes with an Internal Error message on IE7 and Vista (haven't checked on other configurations) using Prototype and calling it from a mousemove event

[jsudds] I'll be glad to enter a bug for it, if you could provide a repro script. Thanks!