how tochange url after calling window.href.location code example Example: js go to page window.location.href = "http://example.com/new_url";