[jQuery] Re: Checkbox selection

2009-02-06 Thread Sam Hastings
Thanks! I'll give your suggestions a shot :-)

[jQuery] Re: Checkbox selection

2009-02-06 Thread jQuery Lover
Something like this might help: $('table tr').click(function(e){ if( $(e.target).is('td') ){ $('input:checkbox', this).attr('checked', 'checked'); } }); Read jQuery HowTo Resource - http://jquery-howto.blogspot.com On Fri, Feb 6, 2009 at 7:40 AM, Sam Hastings wrote: > > Hi everyone, >

[jQuery] Re: Checkbox selection

2009-02-05 Thread James
Here's a good read for you: http://www.learningjquery.com/2008/12/quick-tip-click-table-row-to-trigger-a-checkbox-click On Feb 5, 4:40 pm, Sam Hastings wrote: > Hi everyone, > > I've got an HTML table like this: > > >         >                 Foo >                 Bar >                 Baz >