jQuery .each() - Practical uses?
<p>I am working on trying to better understand the <a href="http://docs.jquery.com/Core/each">jQuery.each()</a> method.  Here's an example I came up with, not very practical, but it performs an action on each selected item from the selected set of elements returned:</p>

<pre><code>// Loop over each link.
$( "#links a.number" ).each(

// For each number, run this code. The "intIndex" is the 
// loop iteration index on the current element.
function( intIndex ){

// Bind the onclick event to simply alert the iteration index value.
    $( this ).bind ("click", function(){
        alert( "Numbered index: " + intIndex );
    });
});
</code></pre>

<p>What are some examples of practical uses of the .each method you are using in your code?  What exactly does $(this) represent?</p>
