為什么沒有過?哪里錯(cuò)了 還有點(diǎn)“點(diǎn)擊我”沒有反應(yīng)
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>函數(shù)調(diào)用</title>
?? <script type="text/javascript">
?????? function contxt() //定義函數(shù)
????? {
???????? alert("哈哈,調(diào)用函數(shù)了!");
????? }
?? </script>
</head>
<body>
?? <form>
????? <input type="button"? value="點(diǎn)擊我" onclick="??? " />?
?? </form>
</body>
</html>
2019-09-07
沒有調(diào)用函數(shù)contxt()
2019-08-30
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>函數(shù)調(diào)用</title>
? ?<script type="text/javascript">
? ? ? function contxt() //定義函數(shù)
? ? ? {
? ? ? ? ?alert("哈哈,調(diào)用函數(shù)了!");
? ? ? }
? ? ?contxt();
? ?</script>
</head>
<body>
? ?<form>
? ? ? <input type="button"? value="點(diǎn)擊我" onclick="contxt()? ?" />??
? ?</form>
</body>
</html>
2019-08-29
沒有調(diào)用函數(shù)
2019-07-19
onclick后面的調(diào)用指令沒有寫,<input type="button"? value="點(diǎn)擊我" onclick="contxt()" />
2019-07-19
<input type="button"? value="點(diǎn)擊我" onclick="contxt()" />調(diào)用函數(shù)