moveToPoint method (TextRange)
Moves the start and end points of the current TextRange object to the specified position.
You can find the related objects in the Supported by objects section below.
|Required. Integer that specifies the horizontal coordinate of the point in pixels relative to the top-left corner of the browser window's client area.|
|Required. Integer that specifies the vertical coordinate of the point in pixels relative to the top-left corner of the browser window's client area.|
This method has no return value.
Example HTML code 1:
This example illustrates the use of the moveToPoint method:
Did you find this example helpful?
User Contributed Comments