Only update part of page and change the url.
history. pushState({page: "another"}, "another page", "example. html"); This will change the URL, but not reload the page.
HTML5 History API allows browsers to change the URL in browser address bar without reloading or refreshing the page using pushState function. The pushState method works similar to window.
Check out https://github.com/defunkt/jquery-pjax, that's where all the magic is
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With