>
> When using v1.6.0.2 and serializing a form with a "multiple" select list, 
> I would get its value like "&myselect[]=foo&myselect[]=bar".
> In v1.7.0.0 it's posting the value like "&myselect[]=foo,bar".  This does 
> not work properly on the backend (Rails).
> Is this expected behavior?
>

Yes, Prototype 1.7 serializes select-multiple in this way 
(comma-separated), because this is how String.interpret() and 
encodeURIComponent() work for arrays of values retrieved from select 
element, although browsers natively serialize exactly as Prototype 1.6 - 
each value separately.

Cry aloud - maybe developer will revert this back to more 
browser-compatible way.

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/prototype-scriptaculous/-/LY_KCcxp_wcJ.
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