Closed
Description
I'm using ajaxForm and has no data in request.
I got around the problem code modifying:
in _formToArray function replaced
if ( els ) {
els = $(els).get(); // convert to standard array
}
by new code:
if (els && !/MSIE 8/.test(navigator.userAgent)) {
els = $(els).get(); // convert to standard array
}
Metadata
Metadata
Assignees
Labels
No labels
Activity
toneplex commentedon Jan 31, 2014
I ran into the same issue with IE8 and this fixed it. Thanks @monco83
stefetom commentedon Feb 5, 2014
hello,
Exactly same problem for me, and same solution.
Thanks too.
Can official repository be update ?
PS. I'm french, sorry for my approximative english
pgioseffi commentedon Feb 5, 2014
This problem seems to be happening with other methods such as formSerialize. Maybe they're all using formToArray method inside which is the method that caused me problems in this version.
#390; fix for ie8
malsup commentedon Feb 5, 2014
Fixed. Sorry for the delay.
freeman983 commentedon Feb 17, 2014
@malsup I get same problem in IE7
ghost commentedon Feb 19, 2014
@malsup Please include the "IE 678" solution of webgal to codebase.
The current version with "IE 8 only" check breaks e.g. current release of "Contact Form 7" plugin for WordPress with IE7.
http://wordpress.org/support/topic/sending-formdata-to-server-broken-in-ie7
#390; fix old IE
Tjalle commentedon Mar 31, 2014
The fix works,
But here is a small tip for the people struggling with this.
I downloaded this code a month or so ago, and in the minified version wasn't updated yet.
So if in doubt, try the non minified code if you want to save yourself some time.
guantou commentedon Apr 16, 2014
actually, ie9 has a “Compatibility Mode”, which button after the browser address . when turn it on , ajaxform also can not post any filed prarm. may be the code need add the check of ie9 。
pokej6 commentedon Jul 24, 2014
In IE8, I'm having the opposite problem. I need this conversion to happen. If I comment out the regex part of the conditional the code works. Otherwise, it errors and asks me to debug.
Edit: els is of type DispHTMLFormElement
nimasmi commentedon Dec 2, 2014
Because of this wontfix jquery bug, I get the following in IE8:
jquery-form#390 alternative fix for IE8
Merge pull request #446 from nimasmi/master