您的位置:首页 > Web前端 > Node.js

使用dwz-ria Jquery ui框架出现“HierarchyRequestError: Node cannot be inserted at the specified point in th

2015-12-01 09:41 821 查看
使用 dwz-ria 做演示的后台,需要用 $.ajax 返回script和html代码

在IE上使用正常, 在火狐下报错,用firebug 发现如下错误,



参考:http://blog.sina.com.cn/s/blog_995c1f630101a36l.html

用firebug开始调试定位错误位置:

在jquery.ajax中有一个属性dataType,需要指定dataType属性为html来解决这个问题。

解决方法:

在js目录下找到dwz.core.js文件 ,在如下位置添加 dataType:’html,



内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: