:contains() Selector
Select all elements that contain the specified text.
Select all elements that contain the specified text.
Select all elements that have no children (including text nodes).
Selects elements which contain at least one element that matches the specified selector.
Select all elements that have at least one child node (either an element or text).
© The jQuery Foundation and other contributors
Licensed under the MIT License.
https://api.jquery.com/category/selectors/content-filter-selector
扫描二维码
下载编程狮App
编程狮公众号