javascript - jquery ajax JSON parse error firefox -
So this is a very strange one in my application, a ton of agents calls, but for some reason one of them works in Firefox does not do. It works in other browsers
I checked the Network tab and the header is sent in normal form, but when I check the feedback tab, then there is no answer. Error comes from callback Error message that is:
Syntax Error: JSON.parse: Unexpected end data on line 1 column 1 of JSON data.
Again, it works fine in Chrome and IE and I have a bunch of other similar AJAX calls that work in Firefox. What can be the problem?
Here's the code:
$ Ajax ({url: 'php_helpers / pnm_profile_helper.php', type: 'post', process data (warning: function (s, error, error reporting) {warning (s + '\ n' + error + '\ n' + error Restore);}});
The response I get (and I get it in other browsers)
{"gpa": "3.5 "," Credit ":" 30 "}
Comments
Post a Comment