Re: AJAX Form Issue

Michael Peters
Wed, 05 Jul 2006 16:11:08 -0000

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