window.location.href jquery
window.location.href = 'http://example.com';
Enchanting Emu
window.location.href = 'http://example.com';
$(location).attr('href', 'https://google.com');