how to redirect to aonther page using jquery code example Example: jquery redirect to another webpage $(location).attr('href', 'https://google.com');