John Sutton posted this at 23:58 — 31st January 1999.
They have: 16 posts
Joined: Dec 1998
Is there any way to suppress JavaScript errors?
John
Jeffrey Ellison posted this at 02:20 — 8th February 1999.
They have: 62 posts
John,
Simply add the follwing lines to the top of you script block:
function stopErrors(){return true;} window.onerror = stopErrors;
This will effectively suppress any scripting errors. Be sure to comment this out when testing and debugging.
------------------ Jeffrey Ellison [email protected] http://www.eons.com - Free Online Tools for Webmasters
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.
Jeffrey Ellison posted this at 02:20 — 8th February 1999.
They have: 62 posts
Joined: Dec 1998
John,
Simply add the follwing lines to the top of you script block:
function stopErrors(){return true;}
window.onerror = stopErrors;
This will effectively suppress any scripting errors. Be sure to comment this out when testing and debugging.
------------------
Jeffrey Ellison
[email protected]
http://www.eons.com - Free Online Tools for Webmasters
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.