I am using ajax to load my website content and want to update the window location when ajax is successful.
How can I update the window location to \"/newpage\"?? I n
You can set the value of document.location.href for this purpose. It points to the current URL. jQuery is not required to do this.
document.location.href