JSFiddle - React, Tailwind, and code Playground

by Eric Hynds

HTML

<a title="">foo</a>
<a>bar</a>

JavaScript

alert( $("a[title]").length );