Skip to content

Commit eae9d8b

Browse files
AurelioDeRosascottgonzalez
authored andcommitted
find: Improve wording
Fixes jquerygh-395 Closes jquerygh-423
1 parent eecc8cb commit eae9d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/find.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $( "li.item-ii" ).find( "li" ).css( "background-color", "red" );
4949
</code></pre>
5050
<p>The result of this call is a red background on items A, B, 1, 2, 3, and C. Even though item II matches the selector expression, it is not included in the results; only descendants are considered candidates for the match.</p>
5151
<div class="warning">
52-
<p>Unlike in the rest of the tree traversal methods, the selector expression is required in a call to <code>.find()</code>. If we need to retrieve all of the descendant elements, we can pass in the universal selector <code>'*'</code> to accomplish this.</p>
52+
<p>Unlike most of the tree traversal methods, the selector expression is required in a call to <code>.find()</code>. If we need to retrieve all of the descendant elements, we can pass in the universal selector <code>'*'</code> to accomplish this.</p>
5353
</div>
5454
<p><a href="/jquery/#selector-context">Selector context</a> is implemented with the <code>.find()</code> <code>method;</code> therefore, <code>$( "li.item-ii" ).find( "li" )</code> is equivalent to <code>$( "li", "li.item-ii" )</code>.</p>
5555
<p><strong>As of jQuery 1.6</strong>, we can also filter the selection with a given jQuery collection or element. With the same nested list as above, if we start with:</p>

0 commit comments

Comments
 (0)