Ticket #11126 (closed bug: invalid)
event.pageX returns NaN
|Reported by:||JBenjaminsson||Owned by:|
I reported an issue over at jQuery Mobile but the problem seems to come from the removal of some "non-standard features" when jQuery 1.7 was released.
There seems to be a conflict between jQuery 7.x and jQuery mobile 1.0. When i updated from 1.6.4 my mobile site broke. When logging event.pageX i get NaN in desktop browser though it works fine in mobile safari. When using event.originalEvent.pageX instead it works on desktop browsers but not in mobile safari. Test code here:
Try different versions of jQuery!
I've tested in desktop versions of Chrome, Firefox and Safari with the same results.