JSFiddle - React, Tailwind, and code Playground

by mqchen

HTML

<a href="hello">hello</a>

JavaScript

alert($('a')[0].href + '   ' + $('a').attr('href'));