[Proto-Scripty] Re: Each IE problem

2009-07-09 Thread Walter Lee Davis
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

[Proto-Scripty] Re: Each IE problem

2009-07-09 Thread ColinFine
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.