View Single Post
  #2 (permalink)  
Old Oct 16th, 2007, 06:47
Rakuli's Avatar
Rakuli Rakuli is offline
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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,
Reply With Quote