Skip to content

Commit 1ab35f1

Browse files
authored
Added "… is a jQuery extension" note
1 parent bf40aa3 commit 1ab35f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

entries/contains-selector.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<longdesc>
1313
<p>The matching text can appear directly within the selected element, in any of that element's descendants, or a combination thereof. As with attribute value selectors, text inside the parentheses of <code>:contains()</code> can be written as a bare word or surrounded by quotation marks. The text must have matching case to be selected.</p>
1414
</longdesc>
15+
<note id="jquery-selector-extension-alt" type="additional" data-selector=":contains()" data-alt="$( &quot;your-pure-css-selector&quot; ).filter( &quot;:contains(text)&quot; )"/>
1516
<example>
1617
<desc>Finds all divs containing "John" and underlines them.</desc>
1718
<code><![CDATA[

0 commit comments

Comments
 (0)