SyntaxFix
Write A Post
Hire A Developer
Questions
also try this
$.ajax({ url: url, data:datas, success:function(datas, textStatus, jqXHR){ var returnedData = jQuery.parseJSON(datas.substr(datas.indexOf('{'))); })};
in my case server responds with unknow character before '{'