<html> <head> <title>Example- Redirecting web page with JavaScript</title> </head> <body> <h2>Redirecting web page with JavaScript</h2> <p>Click the following button, to get redirected Using the replace() function</p> <input type="button" value="Redirect Me" title="Redirect" onclick="Redirect()"/> <script> function Redirect() { window.location.replace("https://www.Stiffdays.com"); } </script> </body> </html>
Select oh |
|
Stupid