event.pageX Returns: Number
Description: The mouse position relative to the left edge of the document.
-
version added: 1.0.4event.pageX
Example:
Show the mouse position relative to the left and top edges of the document (within the iframe).
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
|