Skip to content

serialize() ignores input elements of type submit #2321

@teo1978

Description

@teo1978

Expected output:

mensaje_id=2&texto=lalala&comentar=Comentar

Observed output:

mensaje_id=2&texto=lalala

serialize() should serialize the EXACT SAME DATA that would be sent by the browser if the form was sent normally. That includes input elements of type "submit", but jquery ignores them.

I can't believe I'm reporting this bug in 2015.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions