Thomas said:
Ralphz said:
How do I stop JavaScript execution when I encounter an error?
Is there something similar to PHP's exit or die function?
When will using Google become a school subject? [psf 6.2]
We had that exact same question only a few days ago, and a couple of good
answers to it.
http://jibbering.com/faq/
Thanks for response.
I was actually trying to find something on the newsgroup and google. All
I have found is was something about using break or return. Return does
not work for me because i don't want to check if all the functions
return false. especially if i want to stop execution in function deep
down in call stack. Break on the other hand looks weird