When I try making this ajax call, it fails in IE. The error returns an XHR response of 403. Normally, this would only happen if you're referencing an external data source... but mine is on the same server.
It works in all other browsers (FF, Chrome, Opera, Safari).
Any ideas?
Code:function test() { alert('done'); $.ajax({ url: "data/index.php?q=a", context: document.body, dataType: "text json", success: function(){ alert('test'); }, error:function (xhr, ajaxOptions, thrownError){ alert(xhr.status); alert(thrownError); } }); }



Reply With Quote
Bookmarks