I want to select an element based on their innertext in JQuery. Below is my Html
<html>
<body>
<a href="fddf">4</a>
<a href="fddf">4</a>
<a href="fddf">4</a>
</body>
</html>
I want to select all the <a>
tags which has text of "4". Any idea how do I do it?