I am using jQuery\'s toggle() to show/hide table rows. It works fine in FireFox but does not work in IE 8.
.show()/.hide() work fine though
.show()
.hide()
$(document).ready(function() { $(".readOnlyRow").hide(); $("#readOnlyRowsToggle").click(function() { $(".readOnlyRow").toggle($('.readOnlyRow').css('display') == 'none'); }); });
There is a jQuery bug that IE8 causes everything to evaluate to true. Try above