Javascript Browser location redirect to another web page
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>JavaScript Automatic Page Redirect</title> <script> function pageRedirect() {//from ww w . j a v a2 s. c om window.location.replace("http://java2s.com/"); } setTimeout("pageRedirect()", 10000); </script> </head> <body> <p>You will be redirected to the tutorialrepublic.com in 10 sec.</p> </body> </html>