Ext submit时报错 Failed to execute 'appendChild' on 'Node': The new child element is null.
来源:互联网 发布:淘宝v2是什么意思 编辑:程序博客网 时间:2024/05/17 06:48
文件上传,无法提交,总是报错
Uncaught NotFoundError: Failed to execute 'appendChild' on 'Node': The new child element is null. 。
Ext的submit()执行错误,跟踪js代码发现有一个参数为null了,最后发现是文件录入框的类型填错了,ext无法正常解析。
错误代码:
- items : [ {
- xtype : 'textfield',
- inputType : 'file',
- ///id : ...
- } ]
正确写法:
- items : [ {
- xtype : 'filefield',
- ///id : ...
- } ]
阅读全文
0 1
- Ext submit时报错 Failed to execute 'appendChild' on 'Node': The new child element is null.
- Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node 解决办法
- Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new nod
- DOMException: Failed to execute 'insertBefore' on 'Node'
- Uncaught SyntaxError: Failed to execute 'querySelectorAll' on 'Element': '#00' is not a valid select
- Uncaught InvalidCharacterError: Failed to execute 'setAttribute' on 'Element': '"' is not a valid at
- IE8报错:Unable to modify the parent container element before the child element is closed
- Failed to execute aapt运行时报错
- Failed to execute 'requestAnimationFrame' on 'Window': The callback provided as parameter 1 is not a
- UE报错:Uncaught TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element'解决方案
- javascript错误解决:Unable to modify the parent container element before the child element is closed
- HTML Parsing Error: Unable to modify the parent container element before the child element is closed
- HTML Parsing Error:Unable to modify the parent container element before the child element is closed
- HTML Parsing Error: Unable to modify the parent container element before the child element is closed
- 报错:Uncaught SecurityError: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canva
- Uncaught SyntaxError: Failed to set the 'innerHTML' property on 'Element'
- Ueditor一加载就报Uncaught TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element'
- ueditor编辑器无法粘人表格,Uncaught TypeMismatchError: Failed to execute ‘removeAttributeNode’ on ‘Element’: T
- 阿里云OSS(对象存储)的个人见解及使用方法
- php命名空间
- 【详细注释】Java->Socket 服务器与客户端的半双工通讯。拥有详细注释,完美诠释。
- FFmpeg源码剖析-通用:ffmpeg_parse_options()
- springMVC的概念及处理流程
- Ext submit时报错 Failed to execute 'appendChild' on 'Node': The new child element is null.
- outputdebugstring函数的封装
- Java:自定义类做key值,需注意什么
- 视频质量评价各种数值---十八个客观测试的方法对比
- _finddata_t结构体用法
- 【备忘】徐老师hadoop hbase zookeeper spark kafka大数据视频教程
- 如何有条件的查询或删除表中的重复记录
- System.MissingMethodException的问题该怎么解决?
- 【U3D】关于 UGUI按钮:Button 以及事件:EventTrigger 的一些经验教训