<form name=" " method="post" action="/" οnsubmit="return submt()">
<input type="submit" name="button" value="提交内容" />
</form>
<script>
var cof=window.confirm("确认提交吗?");
if(cof==true)
return true; //确认
else
return false; //取消
</script>