JavaScript Script Taking Too Long to Execute. Getting the Script Taking Too Long Prompt
<p>I have a JavaScript function buildTable which builds a very long HTML table. </p>

<pre><code> function buildTable() {

                for (var i = 0; i &lt; rowCount; i++) {

     .. code to create table

}
</code></pre>

<p>}</p>

<p>The buildToolsetTable takes too much time and after few seconds IE 7 shows the prompt that if I want to keep running the script. I read that I can use window.setTimeout to make another call and refresh the execution but if someone has implementation then it will be super helpful.</p>
