<input type = "button" onclick = "btnRst_Click()" value = "重置" >
<script>
function btnRst_Click() {
alert("事件");
}
</script>
</input>
转载于:https://www.cnblogs.com/gates/archive/2013/06/06/3122301.html