Skip to content Skip to sidebar Skip to footer

Error With Internet Explorer And Jquery Ajax

I have this jquery ajax function: $.ajax({ url: '/private_cloud/add_app/'+school_id+'/'+app_id, dataType: 'json', async: false, success: function(data){ if(

Solution 1:

You haven't specified a request type so it's defaulting to GET therefore IE is (most probably) caching the response. Add

type: 'POST'

to your AJAX config object, eg

$.ajax({
    url: '/private_cloud/add_app/'+school_id+'/'+app_id,
    type: 'POST',
    // etc

Post a Comment for "Error With Internet Explorer And Jquery Ajax"