jquery load缓存问题
最近在做项目,遇到一个奇怪问题,在A页面load B页面的时候,第一次打开时很正常,
<script type="text/javascript">$.ajaxSetup({cache: false}); loadCC:function(){$("#infoCommentPage").load("${webRoot}/info/comment/${modelId}/${info.id}/1");}};$(document).ready(function(){ P.loadCC();});</script>
("#xxx").load("xxxx",function(){alert("aaaa");});
$.ajaxSetup({cache: false});
<meta charset="utf-8" /> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache"> <META HTTP-EQUIV="Expires" CONTENT="0">