JSFiddle - React, Tailwind, and code Playground
by achusonline
HTML
<a href="#" id="urlValue">Click me to show current page URL</a>
JavaScript
$("#urlValue").click(function(){
alert(document.location.href);
});
by achusonline
<a href="#" id="urlValue">Click me to show current page URL</a>
$("#urlValue").click(function(){
alert(document.location.href);
});