http://hi.baidu.com/hlz_1987/blog/item/859f22087a738e2de824887d.htmljsp中普通按钮如何提交表单 参考一下吧
button.onclick=表单id.submit();