how to use jquery to rediirect page code example Example: jquery redirect to url $(location).attr('href', 'https://google.com');