Jquery everything correct but not executing
<p>What's wrong with the following jquery code? Why is it not working?
I am trying to count the number of columns in a table and set the width of this div with id "eDiv" but its not working</p>

<pre><code>$(document).ready(function () {

    reset();

    function reset() {
        w = $("#eDiv tr:first td").length * 200;
        $('.container1').width(2000);
        alert('i');
    }
});
</code></pre>
