HierarchyRequestError:Node cannot be inserted at the specified point in the hierarchy
问题描述:
用jquery的ajax加载html片段,出现该错误
HierarchyRequestError:Node cannot be inserted at the specified point in the hierarchy
解决:
未指定加载数据返回类型,即dataType,注意不是datatype
dataType:'html'
ok!
hello,world~~~
![](https://files-cdn.cnblogs.com/files/thingk/%E5%BE%AE%E4%BF%A1%E6%94%B6%E6%AC%BE%E7%A0%81.bmp)