摘要:
function clickThreeTime (){ var num = 0,timer; document.onclick = function (){ num++ if(num <3){ if(timer){ clearTimeout(timer); } var timer = setTimeout(function (){ num = 0; },500); }else if(num == 3){ num = 0; alert('Click three times!');... 阅读全文
posted @ 2014-01-07 09:21
还好我是程序员
阅读(391)
评论(0)
推荐(0)

浙公网安备 33010602011771号