有些javsscript需要使用时间+随机函数做刷新,可以试试以下方法
<script type="text/javascript">
var now= new Date();
var year=now.getYear();
var month=now.getMonth()+1;
var day=now.getDate();
var hour=now.getHours();
var minute=now.getMinutes();
var second=now.getSeconds();
var milSecond = now.getMilliseconds();
var divid = year+""+month+""+day+""+hour+""+minute+""+second +""+milSecond ;
var mcv =Math.round(Math.random() * 10000);
document.getElementById("js").src = "../My97DatePicker/cn_WdatePicker.js?random=" + divid;
</script>