JSFiddle - React, Tailwind, and code Playground

by j08691

HTML

<div title="A"></div>

JavaScript

var a = $('[title=A]');
console.log(a.get()[0]);