how to check if there is the next() element
<p>This code check if the class before <code>.trackOn</code> is called "sideOn" :</p>

<pre><code>if($('.trackOn').prev().attr('class')=="sideOn") alert("before=sideOn");
</code></pre>

<p>Now, I'd like to check if after <code>.trackOn</code> (using <code>.next()</code>) there isnt any div. How can I do it?</p>
