Skip to main content

Bug Tracker

Side navigation

#6974 closed bug ()

Opened August 31, 2010 03:03PM UTC

Closed November 11, 2010 11:09PM UTC

Last modified March 13, 2012 09:55PM UTC

After Form Reset in IE8, Jquery serialize function fails to add select fields to its returned string

Reported by: steve Owned by:
Priority: Milestone: 1.4.3
Component: ajax Version: 1.4.2
Keywords: serialize, Jquery serialize problem with form reset in IE8, IE8 form reset Cc:
Blocked by: Blocking:

I have moderate knowledge with Javascript and am beginner in Jquery.

I am reporting what I found while coding a webpage for my client.

In IE8 after form reset, if I call jquery serialize function the string it returns doesn't contain the select fields. I observed this behavior only in IE8

Please see the demo proof at the webpage

Attachments (0)
Change History (4)

Changed September 01, 2010 03:11PM UTC by curiousdannii comment:1

Hmm tricky. It appears that .reset() behaves different in IE, in that although it looks like it has selected the first option, in the DOM it is still unselected. You can test that with the following, which returns true in FF but false in IE.


Changed September 11, 2010 01:45AM UTC by steve comment:2

This has become a serious problem for me. I used serialize method for Forms on my client's websites for sending a post request.

All the forms have reset button also and now the code is failing in IE8 after form reset due to this bug in Jquery or IE8. My clients have not yet noticed this on their sites because of the inconspicuous nature of the bug.Shame on me.

Though the bug seem to be in IE8, the burden lies on Jquery team as Jquery is cross browser library. It is disheartening that no one is responding to this ticket yet.

Changed October 14, 2010 03:14AM UTC by snover comment:3

status: newpending

This ticket has been marked as missing a test case. In an effort to reduce the number of outstanding tickets in the bug tracker, it will be closed automatically in 30 days. In order to prevent this from happening, please provide a working test case. If a test case has already been provided and our records are wrong, please respond to the ticket so that it can be fixed. Thank you!

Changed November 11, 2010 11:09PM UTC by trac-o-bot comment:4

status: pendingclosed

Automatically closed due to 14 days of inactivity.