uncaught exception in javascript
<p>I have following function :</p>

<pre><code>function showhide()
{
 alert("test :"+arguments.length);
 var args=arguments;
 alert("1"+args);
 for (i=0; i&lt;(args.length); i=i+2) 
 {
  alert("2"+args);
  eval(args[i]+".style.display='"+args[i+1]+"'");
 }
 alert("3"+args);
}
</code></pre>

<p>After printing test :4 i am getting error like </p>

<pre><code>uncaught exception: [Exception... "prompt aborted by user" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource://gre/components/nsPrompter.js :: openTabPrompt :: line 468" data: no]
</code></pre>
