javascript submit() is not a function

<script>
 window.onload = function(){ document.getElementById('form').submit(); } </script>

解决方法
Make sure that there is no name="submit" or id="submit" in the form

猜你喜欢

转载自www.cnblogs.com/caicaizi/p/10874976.html
今日推荐