Thanks! I'll give your suggestions a shot :-)
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,
>
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
>
3 matches
Mail list logo