Modify ↓
Ticket #6289 (closed bug: worksforme)
.toggleClass() doesn't react on every click on IE7 and IE8
| Reported by: | mischah | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.3 | |
| Component: | manipulation | Version: | 1.4.2 |
| Keywords: | IE | Cc: | |
| Blocking: | Blocked by: |
Description
Just take the example: Toggle the class 'highlight' when a paragraph is clicked.
On this website: http://api.jquery.com/toggleClass/
After a few clicks there is one which doesn't force the change. Then it is working again untill a few clicks before another one is left out.
P.S. Same Issue here: http://api.jquery.com/toggle/ Example: Click to toggle highlight on the list item.
Regards, Michael
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

With IE8 I tried clicking and double-clicking on the items in the example and it always worked correctly. See if you can reproduce it with a simple test page and a stock copy of IE that doesn't have any toolbars or other add-ons.