欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

簡單時(shí)間提示DEMO從0開始一直進(jìn)行計(jì)時(shí)

 更新時(shí)間:2013年11月19日 16:38:03   作者:  
點(diǎn)擊按鈕輸入框會(huì)從0開始一直進(jìn)行計(jì)時(shí),具體的實(shí)現(xiàn)示例如下,感興趣的朋友可以嘗試操作下哦
方便以后 拿來就用
復(fù)制代碼 代碼如下:

<html>
<head>
<script type="text/javascript">
var c=0
var t
function timedCount()
{
document.getElementById('txt').value=c
c=c+1
t=setTimeout("timedCount()",1000)
}
</script>
</head>

<body>

<form>
<input type="button" value="開始計(jì)時(shí)!" onClick="timedCount()">
<input type="text" id="txt">
</form>
<p>點(diǎn)擊上面的按鈕 輸入框會(huì)從 0 開始一直進(jìn)行計(jì)時(shí)。</p>
如有其它形式,可以方便修改,諸如隱藏計(jì)時(shí)器,定時(shí)彈框
</body>
</html>

相關(guān)文章

最新評論