JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<body>
      
      <a href="?inputPractice=dummy" id="lnkNewPracticeInfoForm">Poland</a>
      
</body>

JavaScript

$(document).ready(function() {
             
               var hrefResult = $("#lnkNewPracticeInfoForm").text();
                alert(hrefResult);

        });