Error: theForm.submit is not a function !!

theForm.submit is not a function

调试了半天,才发现范了低级错误。 页面中有一个按钮ID 是 submit 而引发的错误。 引出的问题是页面上的元素命名范围不能是 window 对象的方法名, 否则,方法无效。

posted @ 2016-12-02 22:07  jeremy1888  阅读(248)  评论(0编辑  收藏  举报