Improved JavaScript Error Handling

Improved JavaScript Error Handling

To supress JavaScript error messages, simply place this snippet in the Head section of your Web page:

<SCRIPT language="JavaScript">function dontshowerrormessages() {return true;}window.onerror=dontshowerrormessages;

An even better method is to use the following code:



©2023 Copyright DevX - All Rights Reserved. Registration or use of this site constitutes acceptance of our Terms of Service and Privacy Policy.