You can use plain vanilla Javascript try/catch to catch the errors.

That being said, you should probably track down exactly what the errors are, and try to eliminate them. Testing in IE6/7 is important, as there are some errors which do not show up in Firefox (trailing commas are a big one) that will cause error alerts in IE.

-- Josh


----- Original Message ----- From: "cfdvlpr" <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Friday, April 11, 2008 1:41 PM
Subject: [jQuery] Detecting Javascript error in IE and then displaying a more helpful message to the user



We're noticing that some users of Windows Vista are getting Javascript
errors and are not able to use our site.  Is it possible to use jQuery
to detect when there's a Javascript error and then display our own
customized alert statement to help them fix it?

Reply via email to