ExampleShow the position of the mouse pointer:
Try it yourself » |
The pageX() property is the position of the mouse pointer, relative to the left edge of the document.
event.pageX |
Parameter | Description |
---|---|
event | Required. Specifies the event to use. The event parameter comes from the event binding function |