1
2
3
document.forms[0].action = "/demo/test/doSubmit.do?param=0";
document.forms[0].method = "post";
document.forms[0].submit();
Post
Cancel
JavaScript实现submit按钮的功能
This post is licensed under
CC BY 4.0
by the author.