I can\'t seem to capture the scroll event on an iPad. None of these work, what I am doing wrong?
window.onscroll=myFunction; document.onscroll=myFunction;
Since iOS 8 came out, this problem does not exist any more. The scroll event is now fired smoothly in iOS Safari as well.
So, if you register the scroll event handler and check window.pageYOffset inside that event handler, everything works just fine.
scroll
window.pageYOffset