JS tutorial :window.location method of use differences

  • 2020-03-26 21:23:23
  • OfStack

window.location.href=&http://www.webjx.com/javascript/ldquo; Url ": change the url address;
Window.location.replace (" url ") : replaces the address with a new url. This method replaces the current cached (client) item by specifying the url.
Window.location.reload () : force the page to refresh and request again from the server!

Related articles: