如题所述
submit之后已经刷新了整个页面,还会运行下面的方法吗?
你可以试试 么 !给你个测试代码直接复制 保存 html 文件 function submitaaaaaaa(){document.getElementById('form').submit();anotherFunction();}function anotherFunction(){alert("aaa");}