如何实现页面5秒钟一刷新,同时别的刷新(如:F5等)不可用!!!在线等!!
如题!!!!!!!!!!1
------解决方案-------------------- <head> 标签里加入:
<META HTTP-EQUIV= "REFRESH " CONTENT=5>
------解决方案--------------------F5不可用
<script language= "javascript ">
function document.onkeydown() {
if(window.event.keyCode==116){
window.event.keyCode=0;
window.event.cancelBubble = true;
window.event.returnValue=false;
}
}
</script>