You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: entries/find.xml
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@
18
18
<desc>Get the descendants of each element in the current set of matched elements, filtered by a selector, jQuery object, or element.</desc>
19
19
<longdesc>
20
20
<p>Given a jQuery object that represents a set of DOM elements, the <code>.find()</code> method allows us to search through the descendants of these elements in the DOM tree and construct a new jQuery object from the matching elements. The <code>.find()</code> and <code>.children()</code> methods are similar, except that the latter only travels a single level down the DOM tree.</p>
21
-
<p>The first signature for the <code>.find()</code>method accepts a selector expression of the same type that we can pass to the <code>$()</code> function. The elements will be filtered by testing whether they match this selector.</p>
21
+
<p>The first signature for the <code>.find()</code>method accepts a selector expression of the same type that we can pass to the <code>$()</code> function. The elements will be filtered by testing whether they match this selector. The expressions allowed include selectors like <code>> p</code> which will find all the paragraphs that are children of the elements in the jQuery object.</p>
22
22
<p>Consider a page with a basic nested list on it:</p>
0 commit comments