测试一:
function submit()
{
var form1=document.getElementById("form1")
form1.action="/manager/alipay/alipay.asp";
form1.submit();
}
测试二:
function test()
{
document.getElementById("myform").submit();
alert(11);
}
测试三:
document.getElementById("myFormid").action="xxxx.action";
document.myform.submit();