jquery Content Filter Selector

The basic elements are screened for the DOM node selector, if we want to filter by content, jQuery also provides a set of content filtering selector, of course, will be reflected in its rules on child elements or text it contains

 

 

 


Precautions:

  1. : Contains and: has had to find meaning, but contains find elements include "specified text" is, has to find the element contains "the specified elements"
  2. If: included in the text contains matching child elements, the same considered eligible.
  3. : Parent and: empty is the opposite, the two sub-elements involved, including text nodes

Guess you like

Origin www.cnblogs.com/wzndkj/p/11728454.html
Recommended