Posted By

delikassap on 09/02/09


Tagged

javascript error Handling


Versions (?)

Javascript Global Error Handling


 / Published in: JavaScript
 

URL: http://hungred.com/2009/03/08/how-to/javascript-tutorial-handling-errors/

  1. function handleError()
  2. {
  3. alert(An error has occurred!');
  4. return true;
  5. }
  6. window.onerror = handleError;

Report this snippet  

You need to login to post a comment.