Autobots

How Can I Use JavaScript in Cross-Browser Form to Navigate to a URL?

Asked by Autobots 2 years ago url cross browser


Csgs
0
 
Well anyone that has JavaScript turned on will be able to benefit from this:

Window.location.href = 'example.com';

Also, if you were to want to change the page without having it reflect within the browsers back history then you could do this:

Window.location.replace('example.com');

by Csgs 2 years ago

Answer this question

How Can I Use JavaScript in Cross-Browser Form to Navigate to a URL?

0 errors found:

 
0