$$('#someNode input, #someNode textarea, #someNode select') Walter
On Apr 19, 2009, at 2:37 PM, BenKeen wrote: > > Howdy folks, > > Quick question: is there a way to extract all elements within a > specific node within a form? What I'm trying to do is get a list of > form fields (select,radio,text input et al) within a particular <td> > cell or <div> element. > > I can always achieve it by parsing the DOM element contents; I just > wanted to know if there was a simpler method. > > Thanks! > > - Ben > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---