HEllo,

thanks. And how can i test if the first element selected or not 
selected? I want to toogle the selected and want to select/deselect this 
if the first entry is selected or deselected.

name  stands for the name attribute? is id possible?

> $$("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
>>
>>
>>
> 
> > 


____________
Virus checked by G DATA AntiVirusKit
Version: AVK 17.7910 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