How to update address bar with new URL without reloading the page?
This can be achieved with all the modern web browsers –
window.history.pushState(“object or string”, “Title”, “/new-url”);
Eg: window.history.pushState(“New Page”, “New Page Title”, “/View.jsp”);