How to Update the Current Browser URL
# UPDATE THE CURRENT URL IN BROWSER::
<script>
ChangeUrl = function(page, url) {
if (typeof (history.pushState) != "undefined") {
var obj = { Page: page, Url: url };
history.pushState(obj, obj.Page, obj.Url);
$('.breadcrumb-get-a-pro').att r('href', url);
} else {
alert("Browser does not support HTML5.");
}
}
</script>
http://www.stackofcodes.in/2018/09/16/how-to-update-the-current-browser-url/
ReplyDelete