I have an AJAX request:
$.ajax({
url : "proxy.php",
type : "POST",
data : xmlData,
contentType : "application/x-www-form-urlencoded",
processData : false,
success : function(data) {
// success
},
error : function(data) {
// error
},
});
Which is being answered by a PHP proxy:
header('Content-type: text/xml');
echo $someXmlResponse;
exit();
None of the callbacks are getting fired, neither the success nor the error.
This isn't the first time I've got this. What's going on?
Edit: some updates - trailing comma was not the issue, but thanks for pointing it out. Console shows no errors. Firebug shows request is sent and received properly. Request returns with status 200 OK, data returns correctly.
Thanks for all the help guys. All your feedback was in place. However none actually solved the issue. It looks like a bug in Firefox 4b5.