标签:script time onclick blog set rip led span his
<script type="text/javascript"> document.write(sumdemo(1, 2)); var btn = document.getElementById(‘btn‘); btn.onclick = function() { this.disabled = ‘disabled‘; setTimeout(function() { btn.disabled = ‘‘; }, 1000);//1秒后才能点击 }; </script>
标签:script time onclick blog set rip led span his
原文地址:http://www.cnblogs.com/xuzhengzong/p/7340712.html