Skip to content Skip to sidebar Skip to footer

Ie8 Event Coordinates

I can't seem to find a way to get coordinates of event in IE8, it just triggers errors like... 'pageX undefined', 'clientX undefined' etc. While it works fine in other browsers. Th

Solution 1:

The following seems to work. I'm not sure its is the proper way to do this:

var x=event.clientX;
var y=event.clientY;

Post a Comment for "Ie8 Event Coordinates"