Ticket #954 (closed bug: worksforme)
IE form serialization bug
| Reported by: | admin@… | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2 |
| Component: | core | Version: | 1.1.4 |
| Keywords: | IE , serialize | Cc: | |
| Blocking: | Blocked by: |
Description (last modified by john) (diff)
When i try to serialize a form in IE it does not work , firefox and Opera work fine. This leads to forms submitted in IE not having the correct fields.
After a little debugging i made a small fix ( works for me in IE , firefox and Opera ) .
in jquery .js after line 2164 i put the following code
var k = false;
if ( a.constructor == Array a.jquery k) Serialize the form elements jQuery.each( (k)?k:a, function(){
s.push( encodeURIComponent(this.name) + "=" + encodeURIComponent( this.value ) );
});
replacing the original
if ( a.constructor == Array a.jquery) Serialize the form elements jQuery.each( a, function(){
s.push( encodeURIComponent(this.name) + "=" + encodeURIComponent( this.value ) );
});
Change History
comment:2 Changed 6 years ago by john
- Status changed from new to closed
- Description modified (diff)
- Version changed from 1.1 to 1.1.4
- Milestone changed from 1.1.3 to 1.2
- need set to Review
- Resolution set to worksforme
I haven't been able to duplicate this - the new form serialization code in 1.2 should resolve anything here.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

What type of form causes this problem in IE?