64
rated 0 times
[
68]
[
4]
/ answers: 1 / hits: 194326
/ 12 Years ago, wed, may 16, 2012, 12:00:00
I have a web document with scroll. I want to get the value, in pixels, of the current scroll position. When I run the below function it returns the value zero. How can I do this?
<script type=text/javascript src=js/jquery-1.7.2.js></script>
<script type=text/javascript src=js/jquery.mousewheel.min.js></script>
<script type=text/javascript>
$(function (){
$('#Eframe').on(mousewheel, function() {
alert(document.body.scrollDown)
}
})
</script>
More From » jquery