我使用jQuery的插入HTML内容一样,插入HTML内容的jQuery
$.get("_html/saveme.html", function(data){
$(".saveWin .modalCSS").html(data); //Error here
});
在Firefox它给我的错误是,
Node cannot be inserted at the specified point in the hierarchy
在IE中它工作正常。 请建议我,有没有其他方法可以在课堂内调用类并插入html内容。
在此先感谢
它看起来像你试图插入HTML到(至少)两个可能的元素与jQuery中的双类搜索。 你的HTML看起来像什么? – dougajmcdonald
一些html和markuyp放置你的容器的位置 – Samich
它看起来像元素没有找到这样的选择器'“.saveWin .modalCSS”'。同样的问题已经被问及,问题是 - 没有元素。 http://stackoverflow.com/questions/1119211/node-cannot-be-inserted-at-the-specified-point-in-the-hierarchy-code-3 – Samich