Q:

change web page on button click


  // Simulate a mouse click:
window.location.href = "http://www.w3schools.com";

  
// Simulate an HTTP redirect:
window.location.replace("http://www.w3schools.com");

 
0

New to Communities?

Join the community