让评分表自动刷新,但是1秒时间太短。

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/gc025/article/details/80345281

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--10秒后自动刷新-->
<meta http-equiv="refresh" content="10">


<title>管理评论</title>

<link href="../adminstyle/<?=$loginadminstyleid?>/adminstyle.css" rel="stylesheet" type="text/css">
<script>
function CheckAll(form)
  {
  for (var i=0;i<form.elements.length;i++)
    {
    var e = form.elements[i];
    if (e.name != 'chkall')
       e.checked = form.chkall.checked;
    }
  };
  
  function Trim(str)
 { 
  return str.replace(/(^\s*)|(\s*$)/g, ""); 
};


window.location.reload();
setTimeout('myrefresh()',1000);




</script>


<style>
.ecomment {margin:0;padding:0;}
.ecomment {margin-bottom:12px;overflow-x:hidden;overflow-y:hidden;padding-bottom:3px;padding-left:3px;padding-right:3px;padding-top:3px;background:#FFFFEE;padding:3px;border:solid 1px #999;}
.ecommentauthor {float:left; color:#F96; font-weight:bold;}
.ecommenttext {clear:left;margin:0;padding:0;}
</style>
</head>


<body>
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1">

猜你喜欢

转载自blog.csdn.net/gc025/article/details/80345281