 |
:has() Selector | jQuery API Documentation
... a if a exists anywhere among its descendants, not just as a direct child. ... Because :has() is a jQuery extension and not part of the CSS specification, ... For better performance in modern browsers, use $( "your-pure-css-selector" ) ...
api.jquery.com |
 |