jQuery location href [duplicate] January 4, 2023 by Tarik There’s no need for jQuery. window.location.href="http://example.com";