Ah, I didnt get the relevenace of the span. Yes, I can do that, easily. Thanks everyone of the excellent help.
On Mar 30, 3:14 pm, Walter Lee Davis <wa...@wdstudio.com> wrote: > It's all down to the parent Element you choose to wrap these form > elements with. It doesn't have to be a span as I had it, you could > just give the enclosing paragraph or LI an id and away you go. What > you could not do -- what you are correct to assume here -- is use this > vague syntax with the form as the parent: > > $('theFormId').select('input[type="checkbox"]') > > will indeed return ALL the checkboxen in your form. > > $('theFieldsetId')... > $('theListItemId')... > $(''theParagraphId')... > $('theLabelId')... (this one is even semantically correct!) > > Any of these will work, adapted to the structure of your form. > > Walter > > On Mar 30, 2009, at 9:57 AM, simon.murgatr...@googlemail.com wrote: > > > > > I didn’t dismiss what you said, but isn’t the problem with that > > pattern that if I have other radio button sets on the same page it’s > > going to pull those back at the same time? And that means I'm going to > > have to look at the name of each item and decide if it’s part of this > > set of radio buttons or another set of radio buttons?- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---