Online Forum To Support Coders With Technical Assistance - Read Write Execute

How to hide javascript error in IE

Ankit Agrawal
Ankit Agrawal
Published on June 21, 2014 · 1 min read

we can hide some unavoidable error by using following function

function handleError()
{
return true;
}

window.onerror = handleError();

Was this article helpful?
Ankit Agrawal

Ankit Agrawal

Author & Senior Engineer at CodeExecute

Writing practical engineering guides, debugging real-world bottlenecks, and creating free tools for developer productivity.

← Previous Article captcha image not showing at join page in boonex ? Next Article → what is php ?