.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Code Snippets >> Javascript >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Hide JavaScript Errors

Posted By:Lakhan Pal Garg       Posted Date: September 16, 2009    Points: 10    Category: Javascript    URL: http://www.dotnetspark.com  

This Method is used to Handle / Hide  JavaScript Error that we don't want to show in case of unavoidable conditions.

function handleError()
return true;
window.onerror = handleError;


Further Readings:

Author: Gabriel McAdams         Company URL: http://www.dotnetspark.com
Posted Date: February 02, 2010

I have just released code to help log JavaScript errors by sending error information to the server -

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend