JSFiddle - React, Tailwind, and code Playground

by thecodeparadox

HTML

<a class="someclass" href="">See All 2</a>

<br/>
<br/>
<a class="someclass" href="">If NOt</a>

JavaScript

$("a.someclass:contains('See All')").click(function() {
  alert('yes i am');
});