Answer the question
In order to leave comments, you need to log in
How to select an element by full text match (jQuery)?
Have a DOM tree
<elem1><br>
<child1> 1 </child1><br>
<child2> 2 </child2><br>
<child3> 1 1 </child3><br>
</elem1><br>
Answer the question
In order to leave comments, you need to log in
api.jquery.com/contains-selector/ - probably, sometimes you need to get into the API Reference
Write your own filter, it's easy: anton.shevchuk.name/javascript/jquery-for-beginners-filter-extend/
However, this will not be fast anyway, it would be better to use classes or some other attributes to find what you need.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question