The following AJAX call is failing in IE.
$.ajax({
url:"{{SITE_URL}}/content/twitter.json",
dataType:"json",
error:function(xhr, status, errorThrown) {
alert(errorThrown+'\n'+status+'\n'+xhr.statusText);
},
success:function(json) {
...Snip...
}
});
The error function returns
Undefined
parsererror
OK
No request is made to the server so I don't think its a problem with the JSON.
Fixed, See #1351389
Best Solution
Fixed, I changed the content-type from
application/json; charset=utf8
to just plainapplication/json
.I hate IE :)
Also to avoid IE super-caching try this:
That way each request is a new url for IE to get :D