I want to access the original event object but the object returns undefined..
$(window).scroll(function(event) {
alert(event.pageX);
});
I'm just trying this out if it will work. The example is as basic as possible so I can work out other events too.