javascript load page on click code example Example: javascript load page window.location = "https://example.com/";