Because that's how form behaviour is defined? I don't know what browser
you're using, but anything I've ever seen sends disabled elements along
just like every other element.

In my experience the only deviation between a browser's normal behaviour
and the Form.serialize function is the handling of multiple submit elements.

-Rob

David Zülke wrote:
> Does anyone know why Prototype adds disabled fields to the query  string
> generated by Form.serialize()?
> 
> I have looked through the code, there is no way around that, I'll  have
> to do it by hand.
> 
> Nevertheless, I find that behavior a little irritating. Any ideas why 
> it's implemented like this?
> 
> Cheers,
> 
> - David
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to