Hide JavaScript Error From Page

Lakhangarg
Posted by Lakhangarg under JavaScript category on | Views : 6494
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;

Comments or Responses

Login to post response