Bug Tracker

Modify

Ticket #1426 (closed enhancement: invalid)

Opened 7 years ago

Last modified 5 years ago

Gracefully fail in IE < 6

Reported by: ajpotts Owned by:
Priority: major Milestone: 1.1.4
Component: core Version: 1.1.3
Keywords: Cc:
Blocking: Blocked by:

Description

Is there any simple way not to fire errors in IE < 6?

Having put up a window.onerror => server logging feature, I'm still getting a significant number of users firing off jquery errors because they're using 5.5 or 5.0. I'm not expecting it to work, but not expecting it to cause pop-up errors either.

Alternatively, is there any possible workaround, e.g. [pseudo-code]

<!--[if IE &lt; 6]>
jquery = null;
<![endif]-->

Change History

comment:1 Changed 5 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

You can surround the jQuery script include and the ready handler code with IE conditional comments. If your page degrades gracefully without Javascript it should work fine.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.