Home  >  Article  >  Web Front-end  >  jQuery find and children methods use _jquery

jQuery find and children methods use _jquery

WBOY
WBOYOriginal
2016-05-16 18:11:03862browse

Need to find a sub-object contained within an object.

In order to avoid conflict with the artist, add an ID to the specific operation object. There will be no problem if the artist does not change significantly.

1.children("condition") obtains the first-level child elements.
2.find("condition") gets all contained sub-elements.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn