navigate to another page after navigattin gto page code example Example: javascript redirect window.location.href = "http://mywebsite.com/home.html";