How do I get the browser scroll position in jQuery?
<p>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?</p>

<pre><code>&lt;script type="text/javascript" src="js/jquery-1.7.2.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="js/jquery.mousewheel.min.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript"&gt;
    $(function (){
        $('#Eframe').on("mousewheel", function() {
            alert(document.body.scrollDown)
        }
    })
&lt;/script&gt;
</code></pre>
