createRange

HTML (DHTML)

createRange Method

Internet Development Index

Creates a TextRange object from the current text selection, or a controlRange collection from a control selection.

Syntax

range = selection.createRange()

Return Value

Returns the created TextRange object.

Standards Information

There is no public standard that applies to this method.

Applies To

selection

See Also

createControlRange