Am Samstag, 09. September 2006 15:22 schrieb Claudio Poli: > hi, > what's the best way to select/deselect checkboxes in a form with jquery? > can anyone provide a sample code, please? > > thanks in advance.
I'd do it like this:
$("[EMAIL PROTECTED]'checkbox']").each(function(){
this.checked = !$this.checked;
}
Not tested, but you should get the idea.
--
Milian Wolff
http://milianw.de
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
