To make it unique for each passes, we can place in a random number behind the url as shown below
$.get('remoteUrl.do?'+Math.random()+, function(data){ $('#msg'+id).html(data);}, 'html');
Set cache:false
$.ajax({ url: 'remoteUrl.do', cache: false, success: function(data){ $('#resultDiv').append(data); } }); $.ajaxSetup({ cache: false});Disable caching using html meta tag:
No comments:
Post a Comment