Name
moveToElementText( ) — NN n/a IE 4 DOM n/a
Synopsis
moveToElementText(elementObject
)
Moves the current TextRange
object’s start
and end points to encase the specified HTML element object. The
resulting text range includes the HTML for the element, as well.
Returned Value
None.
Parameters
-
elementObject
A scripted reference to the object. This can be in the form of a direct reference (
document.all.
elementID
) or a variable containing the same kind of value.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.