how to navigate from one page to another page in Jquery code example Example: jquery redirect to another webpage $(location).attr('href', 'https://google.com');