176
rated 0 times
[
179]
[
3]
/ answers: 1 / hits: 17049
/ 10 Years ago, wed, april 2, 2014, 12:00:00
I see that window.event
or event
does not work in Firefox, so I need alternative for this. I don't want to set ANY HTML attributes, just Javascript.
I'm within this function and I want to get mouse coordinates from here:
document.onmouseover = function(){
var mouseX = event.clientX;
var mouseY = event.clientY;
}
Obviously this won't work in firefox, so I want to know how to do it.
More From » firefox