Skip to content Skip to sidebar Skip to footer

Ie 11 Error - Access Is Denied - Xmlhttprequest

I'm having a peculiar error with IE11 and ajax. For nearly all the requests I make using the code below, everything is fine, yet when I try use in conjunction with a copy+paste met

Solution 1:

This question appears to be getting a lot of views, so just in case anybody was wondering, I solved this problem by using a setTimeout() on the original AJAX call. E.g:

setTimeout(function() {
        ajaxRequest('save_mark','save_mark_completed',[60962,1284,5]) 
    }, 1);

I'm assuming it's some kind of bug in IE. Just 1 millisecond was all it needed!

Solution 2:

setTimeout(function() {
        ajaxRequest('save_mark','save_mark_completed',[60962,1284,5]) 
    }, 1);

This did work for me for the first call after page load but later calls again started to show Access is denied error

Post a Comment for "Ie 11 Error - Access Is Denied - Xmlhttprequest"