#954 closed bug (worksforme)
IE form serialization bug
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | minor | Milestone: | 1.2 |
Component: | core | Version: | 1.1.4 |
Keywords: | IE, serialize | Cc: | |
Blocked by: | Blocking: |
Description (last modified by )
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 (2)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Description: | modified (diff) |
---|---|
Milestone: | 1.1.3 → 1.2 |
need: | → Review |
Resolution: | → worksforme |
Status: | new → closed |
Version: | 1.1 → 1.1.4 |
I haven't been able to duplicate this - the new form serialization code in 1.2 should resolve anything here.
What type of form causes this problem in IE?