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

posted on 2019-05-16 13:01  caigan  阅读(1072)  评论(0编辑  收藏  举报