首页 / JAVASCRIPT / javascriptcontains和compareDocumentPosition方法来确定是否HTML节点间的关系_javascript技巧