`
sanshizi
  • 浏览: 85485 次
  • 性别: Icon_minigender_1
  • 来自: 南京
社区版块
存档分类
最新评论

Node cannot be inserted at the specified point in the hierarchy

阅读更多

今天搞代码firefox下发现一个报错:

Timestamp: 2012-12-24 18:04:15
Error: HierarchyRequestError: Node cannot be inserted at the specified point in the hierarchy
Source File: http://localhost:9002/public/js/jquery-1.8.0.min.js
Line: 2

搜索了一下, 没什么收获
仔细看了一下自己的代码, 原来是一个逻辑错误, 即用jQuery将自己或是父级添加到自己中去, 则firefox下会报此错误, ie没反应,  如下代码:


<div id="abc"><div id="def"> check it out </div></div>

<script>
$('#abc').html($('#abc'));//报错
$('#def').html($('#abc'));//报错
</script>

0
0
分享到:
评论
1 楼 cl1154781231 2013-02-26  
怎么解决?

相关推荐

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    - FIX: After deleting the selected points in the TFlexPanel.DeleteSelectedPoints the all figures with one point also deleted. - FIX: When the curve contain more then one figure and they were all ...

    微软内部资料-SQL性能优化3

    SIX locks imply that we have shared access to a resource and we have also placed X locks at a lower level in the hierarchy. SQL Server never asks for SIX locks directly, they are always the result of ...

    微软内部资料-SQL性能优化5

    On a qualified select, update, or delete, the correct leaf page will be the lowest page of the tree in which one or more rows with the specified key or keys reside. A qualified operation is one that ...

    a project model for the FreeBSD Project.7z

    [1] This paper will provide such a project model and is donated to the FreeBSD Documentation project where it can evolve together with the project so that it can at any point in time reflect the way ...

    VclZip pro v3.10.1

    PLEASE TAKE A LOOK AT THE "WHAT's NEW IN THIS VERSION" LINK IN THE HELP FILE AS IT HAS CONVENIENT LINKS TO ALL OF THE NEW TOPICS. ==================== Version 3.10 Build 1 - Several bug fixes. - ...

    C++ Concurrency in Action 1st 原版pdf by Williams

    I encountered the concept of multithreaded code while working at my first job after I left college. We were writing a data processing application that had to populate a database with incoming data ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助

    Q440453 - TdxComponentPrinter - The Date And Time dialog cannot be re-opened after the last time format has been selected in the Available Time Formats list Q435027 - The Print Preview window freezes ...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助-Part1

    Q440453 - TdxComponentPrinter - The Date And Time dialog cannot be re-opened after the last time format has been selected in the Available Time Formats list Q435027 - The Print Preview window freezes ...

    DevExpress VCL 2012 vol 1.6源码、例子、帮助-Part2

    Q440453 - TdxComponentPrinter - The Date And Time dialog cannot be re-opened after the last time format has been selected in the Available Time Formats list Q435027 - The Print Preview window freezes...

    DevExpress VCL v2012 vol 1.6源码、例子、帮助-part2

    Q440453 - TdxComponentPrinter - The Date And Time dialog cannot be re-opened after the last time format has been selected in the Available Time Formats list Q435027 - The Print Preview window freezes ...

    DevExpress VCL 2012 vol 1.6源码、例子、帮助-Part1

    Q440453 - TdxComponentPrinter - The Date And Time dialog cannot be re-opened after the last time format has been selected in the Available Time Formats list Q435027 - The Print Preview window freezes...

    C++ Concurrency in Action

    C++ Concurrency in Action, I encountered the concept of multithreaded code while working at my first job after I left college. We were writing a data processing application that had to populate a data...

    DevExpress VCL v2012 vol 1.6源码-例子-帮助-part2

    Q440453 - TdxComponentPrinter - The Date And Time dialog cannot be re-opened after the last time format has been selected in the Available Time Formats list Q435027 - The Print Preview window freezes ...

    DevExpress VCL v2012 vol 1.6源码-例子-帮助-part1

    Q440453 - TdxComponentPrinter - The Date And Time dialog cannot be re-opened after the last time format has been selected in the Available Time Formats list Q435027 - The Print Preview window freezes ...

    BURNINTEST--硬件检测工具

    number of Network Addresses specified in Preferences-&gt;Network will be the number of NICs tested. This will error faulty NICs that are not detected by the BurnInTest auto NIC detection mechanism. ...

    AVL树_RootofAVLTree_

    In an AVL tree the heights of the two child subtrees of any node differ by at most one; if at any time they differ by more than one rebalancing is done to restore this property. Figures 1-4 ...

    BobBuilder_app

    You can switch to the SortedDictionary in the code at any time if you wish and it makes no difference to the overall code other than you can remove the sorting in the page splits. I also tried an ...

    C++并发编程 C++17语法

    There was a lot of data, but each record was independent and required a reasonable amount of processing before it could be inserted into the database. To take full advantage of the power of our 10-...

    小雨伞环境文件

    # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may ...

    Instrumentation of Java Bytecode for Runtime Analysis

    The predicate is a conjunction of syntactic constraints on a Java statement, and the action is a description of logging information to be inserted in the bytecode corresponding to the statement....

Global site tag (gtag.js) - Google Analytics