In trying to convert some of my JS to cross-browser compatibility, I've come across strange behaviour where I'm unable pinpoint the problem.
I want to convert window.event.x (IE specific) using jQuery, so my code looks as follows:
function someFunction(e){
var ev = $.event.fix(e);
alert(ev.pageX);
}
This returns the correct value in IE, however in FF it's returning an eight-digit number. Any clues?