I have an AJAX request:
$.ajax({
url : "proxy.php",
type : "POST",
data : xmlData,
contentType : "application/x-www-form-urlencoded",
processData : false,
success : function(data) {
},
error : function(data) {
},
});
The response is answered by the PHP proxy:
header('Content-type: text/xml');
echo $someXmlResponse;
exit();
None of the callbacks start, neither success nor error.
This is not the first time I have received this. What's happening?
Edit: some updates - the trailing comma was not a problem, but thanks for pointing it out. The console does not show errors. Firebug indicates that the request has been sent and received correctly. The request is returned with a status of 200 OK, the data is returned correctly.
Thanks for helping everyone. All your reviews were in place. However, none of them solved the problem. It looks like a bug in Firefox 4b5.
source
share