var serialized =
$('certain-container').select('input,select,textarea').collect(Form.Element.serialize).join('&');

What do you think of this approach?

2009/4/16 Andrew Dupont <goo...@andrewdupont.net>

>
>
>
> On Apr 16, 10:44 am, mr_justin <gro...@jperkins.otherinbox.com> wrote:
> > Has the topic ever came up to add the ability to serialize elements of
> > a form just but only within a certain container element?
>
> Not as such, no. But we've had thoughts to make the serialization
> logic itself "pluggable." The last time we broached this topic, there
> were heated exchanges about key/value pair serialization, and whether
> the conventions popularized by Rails and PHP were justifiable
> defaults.
>
> Not quite what you're talking about (which I do think is too
> esoteric), but should make your thing easier. No idea when we'll get
> around to that, though. ;-)
>
> Cheers,
> Andrew
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to