FireFox - element referenced by id name in the global scope. use w3c standard.
<p>I am getting this message for this part of my code.</p>

<pre><code>$(window).scroll(function () {
if ($(window).scrollTop() + $(window).height() == $(document).height()) { } 
}
</code></pre>

<p>I cant seem to fix it. Can anybody help or shed some light?</p>
