On Sep 9, 9:03 pm, cyiam <[EMAIL PROTECTED]> wrote:
> When a user clicks on one or more feature from "featureList", I do the
> following:
> var newOption =  new Element('option', { name: feature, id: feature,
> text: feature });
> $('feature').add(newOption);
>
> So far so good. "feature" will now contain the features selected from
> "featureList".
>
> But when the user clicks the "Submit" button on the form, I intercept
> the submit and loop through the "feature" attribute, and it is empty!
> Visually, the list is populated, but the form, doesn't seem to know
> it!
>
You've not given the Option elements a 'value' property.

Colin

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to