Hi, The following JQuery works fine in all browsers excluding ie-8. It works fine even in ie-7. Not tested in ie version gater than 8. It works fine in Firefox, Chrome and ie-7. Can any body figure out what is the problem and how to solve.
<script type="text/javascript">
$(document).ready(function() {
$("#services_table tr.service_row").hide();
$("#services_table tr.service_header").click(function(){
var trr = $(this).nextAll('tr');
for (i = 0; i < trr.length; i++) {
var classs = $(trr[i]).attr('class');
if (classs == 'service_row')
{
if($(trr[i]).is(':hidden'))
{
$(trr[i]).fadeIn('slow');
}
else
$(trr[i]).fadeOut('slow');
}
else {
if (classs == 'service_header')
$(this).find(".arrow").toggleClass("up");
return;
}
}
}
);
});