How do you capture javascript Syntax Errors and other non-runtime Errors in ie6?

Posted by codeninja on Stack Overflow See other posts from Stack Overflow or by codeninja
Published on 2010-03-16T23:04:00Z Indexed on 2010/03/23 22:23 UTC
Read the original article Hit count: 272

Filed under:
|
|

I'm trying to set the onError event to hush up errors in ie

window.onError = function(){ return true; }

then I tried to initiate some Syntax Errors, and it still shoots an error alert in ie6

anyway to capture and handle this?

© Stack Overflow or respective owner

Related posts about ie6

Related posts about onerror