toggle() on $('.myClass') to show/hide td fails on IE 8
Hi everyone,
I'm trying to show/hide several td of a particular class on a table tbody with IE 8.
It fails (by doing nothing and giving no errors), and I don't understand why.
It works perfectly with FF 3.5, and also works if I put IE 8 in display compatibility mode.
Toggle code is on a clickbox input "onclick" event :
- <input type="checkbox" name="champs[myname]" id="check_myname" onclick="$('.myname').toggle();" />
And I have some
- <td class="myname">...</td>
Any advice would be greatly appreciated.
I'm using Jquery 1.4.2.
Thanks in advance.