<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script>
function checkTimeInterval()
{
linkobject=document.getElementById("aa");
linkobject.disabled=true;
window.setTimeout("linkobject.disabled=false",60000); 
}
</script>
</head><body>
<a href="#" id="aa" onClick="checkTimeInterval();">you can click only once during one minute</a>
</body>
</html>

解决方案 »

  1.   

    利用 <input type='hidden' name='rectime'> 纪录上次点击的时间, 每次点击的动作皆由一个
    script function 来检测确认, function里呼叫系统时间, 60秒以上的纪录下当前时间在rectime, 并认证点击, return true; 以下的则  热return false.
      

  2.   

    To: hillhero789(丘) 
        哥们谢谢你的帮忙,不过你给我的代码还是不好用呀