Get The Current URL in jQuery
In this post we will see how we can get the current URL in jQuery
[js]
<script>
$(document).ready(function ($) {
alert(window.location);
});
</script>
[/js]
Here window.location will return the current location/url of your browser.
Please see my other posts related to JQuery here: JQuery Posts
Kindest Regards
Sibeesh Venu