On Apr 2, 4:43 am, Diodeus <diod...@gmail.com> wrote:
> What's the Prototype equivalent of this jQuery code?
>
> I would like to select all of the radio button with a certain name.
>
> $('#billship input:radio[name="shipType"]');

All of the following will return a live NodeList:

  $('billship').shipType;

or

  $('billship').Elements['shipType'];

or

  $('billship').Elements.shipType;


If you want a static array:

  $A($('billship').shipType);


--
Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to