Recursion working in Chrome/Firefox but not IE7
<p>I'm not sure why this is never completing in IE7, but does in the other browsers. I've put an alert just after the <code>if (i &lt; l)</code> and it fires once in IE7 but doesn't continue after that. Any clue?</p>

<pre><code>// i, l, object, array, tr, table all determined up here.
function iterate(i, callback) {
    if (i &lt; l) {
        tr = buildTableRow(object[array[i]]);
        tr.attr({
            "id": 'theObjectIs' + array[i]
        });
        table.append(tr);
        i = i + 1;
        iterate(i, callback);
    } else {
        callback();
    }
}

iterate(0, function() {
    alert("Draw Complete");
});
</code></pre>
