Search DaTutorials:  
HOME
DHTML Reference
Introduction
Reference

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

     Mortgages | Remortgages | Debt Consolidation | Bleach 175 . Bleach 176 | Mortgage
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp