Find out the index of a given div in jQuery?
<p>Newbie jQuery question: </p>

<p>How do I find out what number a given div is in the DOM-tree?</p>

<pre><code>$('div.dashboard-module').each( function() {
    var divNumber = $(this).[DON'T KNOW WHAT TO WRITE HERE];
});

alert('This div is number ' + divNumber );
</code></pre>

<p>Hope it makes sense! :)</p>
