如何用<a>标签以post方式提交一个form表单

2025-02-24 03:17:08
推荐回答(1个)
回答1:




aaa
function test_post() {
    var testform=document.getElementById("testform");
    testform.action="xxxxx";
    testform.submit();
}