为什么这么奇怪啊??
<body onkeydown="if(event.keyCode==13)document.all.b.click();">
<form name=form1 action=# method=post onsubmit="alert('??');">
<input type=button name=b onclick="alert('!!');document.form1.submit();" value=b>
</form>
</body>
为什么用document.form1.submit()之前不会先调用onsubmit()????
一定要是submit按钮提交才会激发onsubmit()吗??