JSFiddle - React, Tailwind, and code Playground

HTML

<a href="/page.php" id="link1">Link</a>

JavaScript

$(document).ready(function(){
    alert($('#link1').attr('href')); //This doesn't work with jQuery 1.7.2 - return $('#link1')
    alert($('#link1').prop('href')); //This works with jQuery 1.7.2
});