How to Change the Current Browser URL

For Update the Current Browser URL,

<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').attr('href', url);     
    
   } else {         
      alert("Browser does not support HTML5.");     
   } 
} 
</script>

 

Leave a Reply

Your email address will not be published. Required fields are marked *