Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
HTML and CSS
Methods
 createControlRange Method
createControlRange Method

Creates a controlRange collection of nontext elements.

Syntax

oControlRange = BODY.createControlRange()

Return Value

Returns a controlRange collection.

Remarks

Creates a selection range object for control-based selection rather than text-based selection.

If a controlRange already exists, createControlRange overwrites the existing element; otherwise, it returns a pointer to the element created.

Example

This example creates a controlRange using the createControlRange method.

oControlRange = document.body.createControlRange();

Standards Information

There is no public standard that applies to this method.

Applies To

BODY

See Also

createRange
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker