Can I throw an exception in Javascript, that stops Javascript execution?
<p>I try to simulate a problem where a script that is loaded from an external url stops execution of any more scripts on my site.</p>

<p>I tried to simulate such a problem by calling a function that does not exits. I can see the error in firebug but different scripts on the page are still executed.</p>

<p>Are there different kinds of errors in Javascripts? If yes: what kind of error stops script execution? I only need this answer for Firefox.</p>

<p><strong>EDIT</strong></p>

<p>This question is easy to misunderstood but Rob W got it: I need to throw an exception and that exception needs to stop further script execution. </p>
