给form标签一个id,比如:id="myForm"原生javascript代码,:window.onload= function(){ document.getElementById('myForm').submit();}jQuery代码:$(function(){ $('#myForm').submit();});