2
In the other browsers with you through the
$(document).scrollTop();
But in IE it always returns 0;
2
In the other browsers with you through the
$(document).scrollTop();
But in IE it always returns 0;
2
According to this response from the OS you can do it like this:
var top = (document.documentElement && document.documentElement.scrollTop) ||
document.body.scrollTop;
Browser other questions tagged javascript jquery
You are not signed in. Login or sign up in order to post.