新手上路
- 积分
- 28
- 金钱
- 28
- 注册时间
- 2017-6-15
- 在线时间
- 4 小时
|
<!DOCTYPE html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<script type="text/javascript">
var min = <!--#t-->;
var ctl_id = "show";
onload = function() {
Refresh();
setInterval("Refresh();", 1);
}
function Refresh() {
document.getElementById(ctl_id).innerHTML = parseInt(min );
}
</script>
<body>
<div id="show"></div>
</body>
</html>
怎么才能每秒刷新<!--#t-->是个ssi的注解命令 |
|