IE stored the data in cache and even if there are changes, its not reflecting onclick. But when I open the developer mode and try to access the same, then it works perfectly. In all other browsers its fine.
Other weird thing its working properly in local setup, it has issue in production. I have already use the meta tags:
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
But no hope. Can any one please help?
Here is my jQuery:
function showSubjectItems(){
var dis = $("#myTopic").css('display');
if(dis == 'none'){
$("#myTopic").css({display: 'block'}).animate({ opacity: 1 }, 100, function(){
pleasewait();
$("#myTopic").empty().load("mygroupmessagesItem.xhtml");
});
}else{
$("#myTopic").css({display: 'none'}).animate({ opacity: 1 }, 100, function(){
$("#myTopic").empty();
});
}
}