JavaScript
$e.getCoors Function
Syntax
$e.getCoors(event as object)
Arguments
- eventobject
The DOM event object.
Description
Returns the x and y coordinates of a click event.
The returned object has the following properties:
- Property
- Description
- clientX
The x position of the click.
- clientY
The y position of the click.
Example:
var pos = $e.getCoors(event); alert("X = " + pos.clientX + " Y = " + pos.clientX)