JSFiddle - React, Tailwind, and code Playground

by bairog

HTML

<div>
	<a href="http://google.com">This is a test</a>
</div>

<div>
	<a href="http://google.com">Another Div</a>
</div>

JavaScript

var Myfunction = Myfunction (e) {    
    e.preventDefault();
    alert("123");
};

$('a:contains("test")').length;