Re: AJAX Form Issue

<iggy-WbLwnTuLOdP0CCvOHzKKcA@public.gmane.org>
Wed, 05 Jul 2006 23:11:43 -0000

I fixed the problem. I was creating the whole using innerHTML.
Instead of that I used js to populate the select using JSON retrieved via AJAX
and that worked fine.

Iggy

On Wed, 05 Jul 2006 12:11:08 -0400, Michael Peters
<mpeters-aUYv5hkjw45l57MIdRCFDg@public.gmane.org>
wrote:
>
>
> Tom Gregory wrote:
>
>> 3. Nothing is selected, or the selected option has no value.
>
> A selected option is allowed to have an empty string as a value, just like
> text
> inputs, etc. But prototype doesn''t quite work that way. The
following is
> perfectly legal in HTML.
>
>
> -- Please Select --
> 1
> 2
>
>
> But if the first is selected, Form.Serialize will send
"-- Please
> Select --" as the value instead of "".
>
> --
> Michael Peters
> Developer
> Plus Three, LP
>
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs