Bug Tracker

Modify

Ticket #5137 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

Serialize not working for unknown reason

Reported by: mattiv Owned by:
Priority: major Milestone: 1.4
Component: ajax Version: 1.3.2
Keywords: serialize, form Cc:
Blocking: Blocked by:

Description

Trying to submit a form with post(), serializing the form inputs. The form is presented in thickbox and uses validate plugin.

However, serialize() returns an empty string. Even after good amount of battling, I couldn't find the reason, but came sure that this must be the problem. (The object is the correct form and other functions, such as val() appear to work normally. Now sending the form with "writing out" the variables ( "{var1: value, var2: another}" ) for the post() function.

Attachments

serialize_bug.htm Download (3.5 KB) - added by mattiv 5 years ago.

Change History

Changed 5 years ago by mattiv

comment:1 Changed 5 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to invalid

You're disabling all of your inputs before serializing the form. Disabled inputs do not submit, so therefore they do not serialize.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.