可不可以这样提交表单?
<script language="JavaScript" type="text/javascript" >
function check(){
myform.submit();
}
</script>
<form action="" method="post" name="myform">
<table>
<tr><td>用户名:</td><td><input type="text" name="name"/></td></tr>
<tr><td>密码:</td><td><input type="password" name="pw"/></td></tr>
</table>
<input type="button" name="submit" value="确定" onclick="check()"/>
</form>
[解决办法]
http://xiayuanfeng.iteye.com/blog/311433