Re: [jQuery] How to select every checkbox on my page inside a fieldset

2010-02-15 Thread ReynierPM
On 2/15/2010 8:54 AM, Peter Edwards wrote: 2. a checkbox which uses a descendant selector $('#fieldset1 input:checkbox') to explicitly target a given fieldset by ID, and Thx a lot Peter, you and jQuery rocks. It works perfectly for descendant selector #fieldset1 ;) -- Cheers ReynierPM

Re: [jQuery] How to select every checkbox on my page inside a fieldset

2010-02-15 Thread Peter Edwards
You can use selectors to do this quite easily - I've posted an example at: http://jsbin.com/uwaxo/ This has: 1. a checkbox which will select/deselect all others in the page (no matter whether they are in different forms/fieldsets, 2. a checkbox which uses a descendant selector $('#fieldset1 in

[jQuery] How to select every checkbox on my page inside a fieldset

2010-02-15 Thread ReynierPM
Hi: I have a fieldset and a set of check boxes inside. I want when I pick one, for example: value='picked_all' /> Pick all check boxes all the check boxes will be checked. How? -- Cheers ReynierPM