How to make each loop work in IE7?
<p>I'm currently working on a project where I hide/show some table rows based on the contents of the table cells.</p>

<p>I'm using jQuery's each method to loop through the table rows, this works fine in all modern browsers except IE7.</p>

<p>This is my code:</p>

<pre><code>$('li').click(function() {
    var listLetter = $(this).text();
    $("td").hide();
    $("tr").each(function(){ // this is where IE7 goes huh
        var cellLetter = $("td:first", this).text().substr(0,1);
        if (cellLetter == listLetter) {
            $('td', this).show();
        }
    })
});
</code></pre>

<p>Is there a way to make this work in IE7?</p>
