請問為什么我的按鈕按下沒有反應?如何改正?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<input type="button" value="https://bbs.csdn.net/topics/開始"/>
<script type="text/javascript">
function onclick(){
setInterval(function(){
document.write("hello ");
},1000);
}
</script>
</body>
</html>
轉載請註明出處,本文鏈接:https://www.uj5u.com/qianduan/85153.html
標籤:JavaScript
