Horje
How can I redirect the user from one page to another using jQuery or pure JavaScript? Code Example
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
removing duplicates from array javascript Code Example removing duplicates from array javascript Code Example
javascript regex match sequence Code Example javascript regex match sequence Code Example
chrome version release date Code Example chrome version release date Code Example
add typescript to react-native Code Example add typescript to react-native Code Example
chrome version Code Example chrome version Code Example

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