C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » Javascript »

Hide JavaScript Error


Posted Date: 16 Sep 2009    Resource Type: Code Snippets    Category: Javascript
Author: Lakhan PalMember Level: Diamond    
Rating: 1 out of 5Points: 2



Hide JavaScript error



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

Code:

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



Responses

Author: Subba Reddy    09 Oct 2009Member Level: Silver   Points : 1
I think above code have one error.
window.onerror = handleError

If handleError is java script function then we need call function like handleError();


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Javascript  .  Hide JavaScript Errors  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: javascript bar charts
Previous Resource: Date compare
Return to Discussion Resource Index
Post New Resource
Category: Javascript


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use