Creates a controlrange collection of nontext elements.
dhtml语法
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.
DHTML代码范例
This example creates a controlRange using the createControlRange method.
oControlRange = document.body.createControlRange();
是否符合公共标准
There is no public standard that applies to this method.
Applies To
更多语法参考
createRange