Suppress "Done, but with errors on page" in IE

Posted by calebthorne on Stack Overflow See other posts from Stack Overflow or by calebthorne
Published on 2010-05-12T20:07:23Z Indexed on 2010/05/12 20:14 UTC
Read the original article Hit count: 205

I have a website using lots of jQuery and JavaScript that produces a "Done, but with errors on page" message in the footer of IE. Everything on the site works perfectly, so I don't want to spend the time troubleshooting the exact error. All I would like to do is suppress the "Done, but with errors on page" message so that clients don't freak out.

I tried the following at the top of the page with no success:

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

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about error-handling