I've been working with this script that is used within to group a
parent row with it's children, and then expand the children rows out
when you click on the parent. I'm having trouble getting it to work
in internet explorer using jquery-1.3.2.min.js The original script
was using jquery-1.2.1.js.
Is some of this code outdated? and what could I replace it with?
$(function() {
$('tr.parent')
.css("cursor","pointer")
.attr("title","Click to expand/collapse")
.click(function(){
$(this).siblings('.child-'+this.id).toggle();
});
$('t...@class^=child-]').hide().children('td');
});
It doesn't list any error on the page, it just doesn't toggle the
children to visible when you click the parent row.
Here is a demo page where I got the script from:
http://www.javascripttoolbox.com/jquery/#expandablerows
Thanks!