Uncaught TypeError: Cannot read property 'options' of undefined
2017-09-22 15:16
971 查看
问题描述: 使用easyui可编辑数据表格的禁用数据表格编辑报错
初始代码
勉强解决: 功能基本满足要求
删除了禁用编辑这一方法,可能使用有误,导致前台报错
更改后代码
==========================
有时候更改代码后,可能无法看到效果,是因为浏览器的缓存问题,
Ctrl + F5 刷几次都没有加载更改过的js代码,
在浏览器中清除全部浏览器数据
初始代码
$("#toolbar").remove(); $("#dg").edatagrid("disableEditing");
勉强解决: 功能基本满足要求
删除了禁用编辑这一方法,可能使用有误,导致前台报错
更改后代码
$("#toolbar").remove();
==========================
有时候更改代码后,可能无法看到效果,是因为浏览器的缓存问题,
Ctrl + F5 刷几次都没有加载更改过的js代码,
在浏览器中清除全部浏览器数据
相关文章推荐
- EasyUI异常——Uncaught TypeError: Cannot read property 'options' of undefined
- [Angular] ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'name' of undefined
- Uncaught TypeError: Cannot read property 'length' of undefined出现的问题
- Uncaught TypeError: Cannot read property 'width' of undefined
- 百度地图调用报错Uncaught TypeError:Cannot read property 'fc' of undefined
- echarts.js:24938 Uncaught TypeError: Cannot read property '0' of undefined
- 关于stimusoft report 打印出现Uncaught TypeError: Cannot read property 'margins' of undefined的原因
- 错误:Uncaught TypeError: Cannot read property 'WebSocket' of undefined
- Uncaught TypeError Cannot read property 'length' of undefined
- js提示Uncaught TypeError: Cannot read property 'options' of null
- 报错:Uncaught TypeError: Cannot read property 'length' of undefined
- Uncaught TypeError: Cannot read property 'options' of undefined 错误
- 程序是没有问题的但是提示Uncaught TypeError: Cannot read property 'linear' of undefined
- Cocos creator中出现Uncaught TypeError: Cannot read property 'node' of undefined
- easyui 异常:Uncaught TypeError: Cannot read property 'tabs' of undefined
- 更新jquery-1.12.4.min.js后抛may throw: Uncaught TypeError: Cannot read property 'mozilla' of undefined
- JQuery报错:Uncaught TypeError: Cannot read property 'trim' of undefined
- Uncaught TypeError: Cannot read property ‘props’ of undefined
- Uncaught TypeError: Cannot read property '_setter' of undefined
- Uncaught TypeError: Cannot read property 'tabs' or '' of undefined