[jQuery] Re: toggling checkboxes in an adjacent table cell

2007-04-05 Thread Glen Lipka
On 4/5/07, RwL <[EMAIL PROTECTED]> wrote: > How about this? > > $('input.rowChecker').click(function(){ > $(this).parent().siblings('.updateItems').find('[EMAIL PROTECTED]').attr('checked', > this.checked); > > }); > Another possibility: $("table tr td:last-child input").click(function()

[jQuery] Re: toggling checkboxes in an adjacent table cell

2007-04-05 Thread RwL
> How about this? > > $('input.rowChecker').click(function(){ > $(this).parent().siblings('.updateItems').find('[EMAIL > PROTECTED]').attr('checked', > this.checked); > > }); > > Cheers, > /rw That appears to be exactly what I needed. Thank you SO much -- every little thing I see done (the RIGHT

[jQuery] Re: toggling checkboxes in an adjacent table cell

2007-04-05 Thread Roman Weich
RwL schrieb: I'm pretty new to jQuery and have hit the wall on this one... I have a tabular form where data points can be selected for update or to be ignored, sample here: http://www.lifford.org/exp/jQuery-checkboxes.html It was extremely easy to set up the select all / deselect all toggle at