• support@answerspoint.com

Modify the URL without reloading the page

1626

Is there any way I can modify the URL of the current page without reloading the page?

I would like to access the portion before the # hash if possible.

I only need to change the portion after the domain, so its not like I'm violating cross-domain policies.

 window.location.href = "www.mysite.com/page2.php";  // sadly this reloads

0Answer


Your Answer

    Facebook Share        
       
  • asked 8 years ago
  • viewed 1626 times
  • active 8 years ago

Best Rated Questions