each function index and element
<p>my question is a simple one how do you use element with index in each function</p>

<pre><code>$('div').each(function(index, element) {
     is element equal to $(this)
});
</code></pre>
