JavaScript 页面重定向 JavaScript 页面刷新 JavaScript 页面重定向2 JavaScript 页面重定向 <html> <head> <script type="text/javascript"> <!-- function Redirect() { window.location="https://www.codingdict.com"; } //--> </script> </head> <body> <p>Click the following button, you will be redirected to home page.</p> <form> <input type="button" value="Redirect Me" onclick="Redirect();" /> </form> </body> </html> JavaScript 页面刷新 JavaScript 页面重定向2