我有 2 个按钮
<input type="button" value="Submit" onclick="one()" />
<input type="button" value="Clear" onclick="two()" />
它们在中的定义script.js
为
function one() {
alert("Submit is called");
}
function two() {
alert("Clear is called");
}
这里one()
有人接,但没有two()
可能是什么问题?