1 out of 2 rated this helpful - Rate this topic

addRange method

Adds a Range to the current selection.

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

Syntax

var retval = HTMLSelection.addRange(oRange);

Parameters

oRange [in]

Type: Object

Range to add.

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. If addRange is applied to a selection that already contains a Range, the new Range is not added.

See also

HTMLSelection

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.