#3588 closed feature (invalid)
Allow sub-section of form to be serialized
Reported by: | pbowyer | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | ajax | Version: | 1.2.6 |
Keywords: | Cc: | pbowyer, flesler | |
Blocked by: | Blocking: |
Description
Often I need to do partial form submissions (for inline AJAX lookups). The built-in serialize() and serializeArray() methods will only work when applied to the <form> itself, and not to sub-sections of the form.
Adding this behaviour would be great and mean I don't have to roll my own serialization code!
Attachments (1)
Change History (4)
Changed 14 years ago by
comment:1 Changed 14 years ago by
Cc: | pbowyer flesler added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Type: | bug → feature |
serialize does accept single elements.
$('form *').filter('.foo').serialize()
comment:2 Changed 10 years ago by
I have come across this, especially with steps forms any one fixed this yet?
comment:3 Changed 10 years ago by
As the comment above says, just serialize whichever elements you'd like.
Note: See
TracTickets for help on using
tickets.
Demonstration file, showing how serialization doesn't work