Getting the next element with the same class during the page scroll with jQuery
<p>On a page I have 10 elements with the same class name:</p>

<pre><code>&lt;span class="simpleclass"&gt;text&lt;/span&gt;
</code></pre>

<p>What I'm trying to do is - go to the next element with class "simpleclass" when the page is scrolled. That means that for the first time when I scroll the page I need to get a reference to the second span with class "simpleclass" on the page, etc. Could anybody help me to figure out how this can be achieved? </p>

<p>Thanks.</p>
