Tuesday, September 11, 2012

jQuery AJAX Cache Issue with IE

If you are having issue with jquery ajax api in IE where it keeps returning the same set of results over and over again. set cache option to false. So for example instead of using

$.ajax({ url: surl, dataType: 'json' }).done(function (data) { });


$.ajax({ url: surl, dataType: 'json', cache: false }).done(function (data) { });


No comments:

Post a Comment