$$("input[type=checkbox][name*=part_of_the_name]").each(function(c) {
c.checked = false; });

the name*=part_of_the_name will select any checkbox with
'part_of_the_name' anywhere inside the checkbox. If you use name^=
will only check at the beginning, $= only checks at the end, and the
equals sign only will match exactly the name you selected.

Best,
-Nicolas

On 9/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> hello,
>
> how can i select and modify checkboxes with specified name part?
>
> ____________
> Virus checked by G DATA AntiVirusKit
> Version: AVK 17.7907 from 19.09.2007
> Virus news: www.antiviruslab.com
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to