Horje
jquery redirect Code Example
jquery redirect
// similar behavior as an HTTP redirect
window.location.replace("http://stackoverflow.com");

// similar behavior as clicking on a link
window.location.href = "http://stackoverflow.com";
jquery redirect to url
$(location).attr('href', 'https://google.com');
jquery window redirect with header
$(location).attr('href', 'www.google.co.in');
How can I redirect the user from one page to another using jQuery or pure JavaScript?
Solution #1
for Jquery you can use following code
$(location).prop('href', 'https://www.codegrepper.com/profile/shafeeque-ahmad')

Solution #2
for pure javascript you can use following solution

window.location.href='otherpage.com';
 window.location.assign('otherpage.com');
 //and...

 window.location.replace('otherpage.com');




Javascript

Related
recuperar url javascript Code Example recuperar url javascript Code Example
How do I redirect to another webpage? Code Example How do I redirect to another webpage? Code Example
media query js Code Example media query js Code Example
Consider using '--resolveJsonModule Code Example Consider using '--resolveJsonModule Code Example
redirect javascript Code Example redirect javascript Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11