removeRange method

Removes a range from a selection.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 7.6.1Internet Explorer 9

 

Syntax

var retval = HTMLSelection.removeRange(range);

Parameters

range [in]

Type: Object

Range to remove.

Return value

Type: HRESULT

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

Standards information

Remarks

Windows Internet Explorer 9 does not currently support multiple or disjointed selections in standards mode.

See also

HTMLSelection

 

 

Show:
© 2014 Microsoft