Ticket #11138 (closed bug: invalid)
.serialize doesn't include submit buttons
|Reported by:||jquery@…||Owned by:|
It doesn't because it checks the type against rinput which is a static list of types. Which is very strange IMO.
Anyway: submit buttons with a name are part of the form value just as text inputs etc.
rinput = /^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,
checked in serializeArray > filter