Uncaught TypeError: Cannot read property of 'name' null
2013-03-13 11:33
1296 查看
js 的ajax的错误:
Uncaught TypeError: Cannot read property of 'name' null
原因是返回的数据第一个数据为null,导致其后的没法得到
js其他类似错误有可能是ajax的返回的值有问题,可能是少单引号,返回直的一个值为null或者''导致以后没法遍历
Uncaught TypeError: Cannot read property of 'name' null
原因是返回的数据第一个数据为null,导致其后的没法得到
js其他类似错误有可能是ajax的返回的值有问题,可能是少单引号,返回直的一个值为null或者''导致以后没法遍历
相关文章推荐
- Uncaught TypeError: Cannot read property 'click' of null问题的解决
- js提示Uncaught TypeError: Cannot read property 'options' of null
- JavaScript:Uncaught TypeError Cannot read property 'id' of null。
- 在使用renderTo中遇到的Uncaught TypeError: Cannot read property 'insertAdjacentHTML' of null
- 解决sweetalert 无故报错 elem.className.replace Uncaught TypeError: Cannot read property 'className' of ...
- Uncaught TypeError: Cannot read property 'value' of null
- 关于"Uncaught TypeError: Cannot read property 'time' of null"的处理
- Uncaught TypeError: Cannot read property 'offsetTop' of null
- Uncaught TypeError: Cannot read property 'length' of null
- Uncaught TypeError: Cannot read property 'getItem' of null
- Uncaught TypeError: Cannot read property 'width' of null
- Uncaught TypeError: Cannot read property 'hasOwnProperty' of null
- Uncaught TypeError: Cannot read property 'querySelector' of null
- Uncaught TypeError: Cannot read property 'prototype' of null using Openerp 7.0
- 安卓Webview 加载网页 Uncaught TypeError: Cannot read property 'getItem' of null",
- discuz 出现了Uncaught TypeError: Cannot read property 'appendChild' of null
- canvas出现Uncaught TypeError: Cannot read property 'getContext' of null 错误
- js事件处理程序 Uncaught TypeError: Cannot read property 'addEventListener' of null
- 关于js Uncaught TypeError: Cannot read property 'style' of null 问题
- Uncaught TypeError: Cannot read property 'value' of null