Uncaught TypeError: b.nodeName.toLowerCase is not a function
来源:互联网 发布:白金数据 目录 编辑:程序博客网 时间:2024/06/14 22:28
好久没写了,记录下。。。
问题重现:使用jquery,做表单提交的时候定义了一个属性nodeName,使用$.submit()
就是这样的写法,报了下面的错误:
解决方法:修改nodeName名称。
原因:nodeName在jquery中已经有使用了,关键词冲突了,可以查看nodeValue、nodeType等。
可以参考:http://blog.csdn.net/hdfyq/article/details/52805836
阅读全文
0 0
- Uncaught TypeError: b.nodeName.toLowerCase is not a function
- jquery-ui.min.js:5 Uncaught TypeError: b.nodeName.toLowerCase is not a function
- Uncaught TypeError: str.toLowerCase is not a function
- swagger1.2浏览器报错Uncaught TypeError: detectedType.toLowerCase is not a function
- jquery 报错 e.nodeName.toLowerCase is not a function
- Uncaught TypeError: undefined is not a function
- Uncaught TypeError: string is not a function
- Uncaught TypeError: object is not a function
- Uncaught TypeError: undefined is not a function
- Uncaught TypeError: undefined is not a function
- Uncaught TypeError: object is not a function
- Uncaught TypeError: boolean is not a function
- Uncaught TypeError: $(...).appendChild is not a function
- Uncaught TypeError: sum is not a function
- Uncaught TypeError: search is not a function
- Uncaught TypeError: $(...).Validform is not a function
- Uncaught TypeError: $(...).on is not a function
- Uncaught TypeError: $(...).customFileInput is not a function
- easyui-datebox禁止手动输入
- Full Binary Tree Picture hiho一下第 177 周
- 网页中通过js修改img的src属性刷新图片时,图片缓存问题现象表述及问题解决
- c#之结构体和类
- mysqlcluster之数据
- Uncaught TypeError: b.nodeName.toLowerCase is not a function
- jsp嵌入的java代码不能与el表达式一起使用
- IoniC3+cordova 实现全屏
- TableViewCell内含textField的复用
- 最全app上传渠道入口 拿去即用
- 软件测试修炼之道
- StringUtils中 isNotEmpty和isNotBlank
- python字典
- MSCOMM发送UTF8乱码问题解决方法