The reason for the failure of jquery Ajax submission is that we have problems with Ajax parameters, and the other is that the Ajax settings in IE in Jquery.form are application/x-javascrip due to the type of submission, let me summarize.
Example One
The code is as follows |
|
$.ajax ( { Type: "POST", URL: "/a.php", Success:function (Result) { Todo: } ) |
We clicked to submit without any return, so using the FF browser test did not find any effect, and later detected that the data is less: "{A: ' A '}" parameters, we just have to modify it
The code is as follows |
|
$.ajax ( { Type: "POST", ContentType: "Application/json", URL: "a.php", Data: "{A: ' A '}", Success:function (Result) { } ) |
Ajax submissions in IE8 e jquery.form not responding
This problem I was analyzed for a few hours found is set Application/x-javascript, IE8 do not work, the solution is in the AJAX submission we can set other or not set on it.