Name

setEndPoint( ) — NN n/a IE 4 DOM n/a

Synopsis

setEndPoint(type, comparisonRange)

Sets the end point of the current TextRange object to the end point of another range that had previously been preserved as a variable reference.

Returned Value

None.

Parameters

type

One of the following constants (as a string): StartToEnd | StartToStart | EndToStart | EndToEnd.

comparisonRange

A TextRange object created earlier and saved to a variable.

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.