<FORM METHOD=POST ACTION="" name=form1></FORM>
<input type=button value=button onclick="javascript:confirm('确定提交吗?')?form1.submit():void(0);">
<input type=button value=button onclick="javascript:confirm('确定提交吗?')?form1.submit():void(0);">
调试欢乐多
OK 返回 true;Cancel 返回 false建议用 vbscript,可以有更强大的 MsgBox
<a href=# onclick="javascript:confirm('确定提交吗?')?form1.submit():void(0);">aaa</a>