• One thing to note is that the jQuery closest method works more like XPath's ancestor-or-self; it will include the current node if it matches.

    有一件事注意jQueryclosest方法的行为很像XPathancestor - or - self如果匹配的话包含当前节点

    youdao

  • Like ancestor in XPath, descendant has a descendant-or-self for those special cases where the selected node might match what you're looking for (see Figure 3).

    对于那些特殊情况,即选择节点可能匹配正在寻找的元素,那么跟XPath中的祖先一样子孙也具有descendant - or - self(参见3)。

    youdao

  • Like ancestor in XPath, descendant has a descendant-or-self for those special cases where the selected node might match what you're looking for (see Figure 3).

    对于那些特殊情况,即选择节点可能匹配正在寻找的元素,那么跟XPath中的祖先一样子孙也具有descendant - or - self(参见3)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定