【问题标题】:what is difference between find() and children() in jquery? [duplicate]jquery中的find()和children()有什么区别? [复制]
【发布时间】:2016-11-29 16:41:43
【问题描述】:

我在面试中得到了问题。 find()children() 之间的主要区别是什么。 请回答 。 提前致谢

【问题讨论】:

标签: jquery


【解决方案1】:

Find 方法用于在 DOM 树中查找所有级别,但子项在 DOM 树中查找单个级别

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-12-17
    • 2017-03-19
    • 2018-01-13
    • 1970-01-01
    • 1970-01-01
    • 2016-10-14
    • 2011-09-23
    • 2010-10-13
    相关资源
    最近更新 更多