Home JavaScript实现submit按钮的功能
Post
Cancel

JavaScript实现submit按钮的功能

1
2
3
document.forms[0].action = "/demo/test/doSubmit.do?param=0";
document.forms[0].method = "post";
document.forms[0].submit();	
This post is licensed under CC BY 4.0 by the author.