|
Re: error catching
Hi Adrock,
I have seen it before but I also believe the code is fairly messy. I would like to have a shot at re-writing it to be better if you wanted.
If you prefer to run with what you have:
Do you want the user to be alerted of the error or just die gracefully? If you wanted to just suppress it you can change the onerror handler.
window.onerror = function () { return true; };
If you wanna give me a shot at it:
PM to file to me and I'll post the finished code here.
Cheers,
|