注冊的時候需要發送驗證激活帳號的郵件
<html>
<head>
<title>點擊獲取驗證碼按鈕後按鈕變灰
</head>
<body>
<input type="button" id="btn" value="免費獲取驗證碼" />
<script type="text/javascript">
var wait=
function time(o) {
if (wait ==
o
o
wait =
} else {
o
o
wait
setTimeout(function() {
time(o)
}
}
}
document
</script>
</body>
</html>
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20114.html