Javascript interval and iframe
<p>I have an asp.net page that opens a page in jqueryWindow (iframe) that loads some contents and a button. When the user clicks the button, I call a function to do some work and a setInterval function at the end of click function. The interval function works fine and  while the window(iFrame) is opened, when I close the window, the interval stops in Firefox and this error will show in the console:</p>

<pre><code>attempt to run compile-and-go script on a cleared scope
</code></pre>

<p>However it works it IE.</p>

<p>Any ideas?</p>

<p>later desc :
the interval is function is in parent. But I used firebug that surprisingly saw that the function is going to be called in its interval but it returns error and sometimes works fine. :O</p>
