前端开发的部门是什么意思 |
应聘前端开发需要做什么 |
前端开发用的什么软件 |
html 代码片段
<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″ />
<title>js免费获取验证码倒计时</title>
</head>
<body>
<input type=”button” id=”btn” value=”免费获取验证码” />
<script type=”text/javascript”>
var wait = 10
function time(o) {
if (wait == 0) {
o.removeAttribute(‘disabled’)
o.value = ‘免费获取验证码’
wait = 10
} else {
o.setAttribute(‘disabled’, true)
o.value = ‘重新发送(‘ + wait + ‘s)’
wait–
setTimeout(function() {
time(o)
}, 1000)
}
}
document.getElementById(‘btn’).onclick = function() {
time(this)
}
</script>
</body>
</html>
前端开发需要什么书 |
什么是前端开发的环境 |
什么是安卓前端开发 |
评论前必须登录!
注册