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