You could maybe do something less dependent on the local structure,
using up():
$$('input[type="checkbox"]:checked').each(function(e){
e.up('tr').morph('checked');
});
Walter
On Jul 9, 2009, at 9:11 AM, ColinFine wrote:
>
>
>
> On Jul 6, 3:00 pm, Celso wrote:
>> Why this only works
On Jul 6, 3:00 pm, Celso wrote:
> Why this only works in Firefox and not in IE?
>
> $$('input').each(function(e){
> if(e.type == 'checkbox' && e.checked)
> $('tr-'+e.id).morph('checked');
> });
>
> Thanks,
> Celso
*Please* don't say "doesn't work" or equivalent.