Yeah , you're right, it should test for the existance of the attribute instead

On 09/07/06, Michael Peters <[EMAIL PROTECTED]> wrote:


Andrew Tetlaw wrote:
> I'm sure that is valid in HTML, the value returned by a
> select,checkbox or radio is the value attribute or text node if value
> is not available.

But the difference between what Prototype does and what every other browser does
is that if the value is specified, but is an empty string (<option
value="">--choose--</option>), browsers will return send "", but Prototype sends
"--choose--".

--
Michael Peters
Developer
Plus Three, LP

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



--
Andrew Tetlaw
htp://tetlaw.id.au
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to