Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error handling

Status
Not open for further replies.

Jazz

Programmer
Jul 7, 2000
5
GB
Can anyone help me in trying to find out about handling errors?
 
I have, mutliple times, been unsatisfied with the window.onerror event. It doesn't seem to do a damn thing. Maybe its my browser. With IE, you can put everything inside a try{} catch(){} block like so.<br>try{<br>window.alert(varabname)<br>}<br>catch(err_1){<br>window.status=&quot;Error&quot;<br>}<br>this will prevent an annoying popup error and subtly display it in the status bar. You can find more at <A HREF=" TARGET="_new"> and <A HREF=" TARGET="_new"> and <A HREF=" TARGET="_new"> HREF="mailto:-jared@aauser.com">-jared@aauser.com</A>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top