To get the current URL from jquery we NEED to write the below syntax.< script> $(document).ready(function ($) { ALERT(window.location); });< /script>
Your experience on this site will be improved by allowing cookies. Read Cookie Policy