Property 'submit' of object #<HTMLFormElement> is not a function
来源:互联网 发布:销售数据ppt案例 编辑:程序博客网 时间:2024/05/01 00:06
今天使用jquery的时候使用脚本提交表单$("#submit").submit();
然后就出现了:Property 'submit' of object #<HTMLFormElement> is not a function
网上查了下原因:说是form里面有个name="submit"的按钮导致submit()方法和button的name混淆
然而我的却不是name,二是id为 "submit"
再次补充下,无论是name还是id为"submit"都是不行的,只要把submit改掉就OK 了,我改成了"Submit",也是OK 的!
0 0
- Property 'submit' of object #<HTMLFormElement> is not a function
- Property 'submit' of object #<HTMLFormElement> is not a function
- form.submit()提交时报错object is not a function
- Javascript Error: submit is not a function
- typeError: form.submit is not a function
- document.form.submit() is not a function
- document.form.submit() is not a function
- object is not a function
- Uncaught TypeError: object is not a function
- 解决object is not a function
- Uncaught TypeError: object is not a function
- Javascript Error: form.submit is not a function
- TypeError:window.forms.loginForm.submit is not a function
- js提交表单错误:form.submit is not a function
- 表单js提交报错 submit is not a function
- form 通过js 调用 form名字 .submit(); 有时失效 ***.submit is not a function 需注意
- Vue.js搭建路由报错 router.map is not a function,Cannot read property ‘component’ of undefined
- mongoDB add user in v3.0 问题的解决(Property 'addUser' of object admin is not a func)
- Matlab与C++混合编程
- 查询权限分配情况
- C++ Primer Plus 第六版 第16章 string类和标准模板库
- Timer和TimerTask详解
- HTTP Status 500 - Unable to compile class for JSP
- Property 'submit' of object #<HTMLFormElement> is not a function
- 解决 interop.word 外部组件异常
- vim基本用法
- 工作居住证续签
- 铝板规格及产品分类、用途知识一览
- 微信营销如何做对o2o商业模式心灰意冷了吗?O2O到底要怎么做?
- Linux串口编程
- LBP特征:图像特征提取
- 如何在eclipse jee中检出项目并转换为Maven project,最后转换为Dynamic web project