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