左鍵單擊按鈕沒有任何反應(yīng),請(qǐng)問哪位可以替小弟解答下,多謝
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我們互動(dòng)下</title>
<script type="text/javascript">
? ? function a(){
? ? ? ? document.write("lalalalala~~");
? ? ? ? var b=confirm("come on");
? ? ? ? if(b==true){
? ? ? ? ? ? alert("biubiubiu~");
? ? ? ? }
? ? }
</script>
</head>
<body>
? ? <form>
? ? ? ? <input name="button" type="button" onclik="a()" value="To be the better man"/>
? ? </form>
</body>
</html>
2017-02-14
? <input name="button" type="button" onclik="a()" value="To be the better man"/> 這一行里的onclick寫錯(cuò)了,少寫了c。
2017-02-14
<input name="button" type="button" onclik="a()" value="To be the better man"/>
打錯(cuò)了~~~~