#6974 closed bug
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: |
Description
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
Change History (4)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
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.
comment:3 Changed 12 years ago by
Status: | new → pending |
---|
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!
comment:4 Changed 12 years ago by
Status: | pending → closed |
---|
Automatically closed due to 14 days of inactivity.
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.