onerror event
by Jim Coffield <coffield(at)cet.edu>
|
Date: |
Tue, 19 Dec 2000 18:31:32 -0500 |
To: |
hwg-languages(at)hwg.org |
|
todo: View
Thread,
Original
|
|
I am about to press a CD for mass production (approximately 2000 html
files, 300 with javascript, css, etc). I'm considering adding the following
code to all of the files containing javascript:
function myerror()
{
return true;
}
onerror = myerror;
Are there any problems with this plan. There are some specific cases where
this code is necessary (non-fatal errors caused by clicking on links before
the page is completely loaded, etc.) and if a user finds a page that is not
working properly I can always remove the code on my copy for debugging. Any
advice on this would be greatly appreciated.
Jim
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA