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