If you want auto click on link on load body then just copy and paste this code on your page <html> <head> <script> window.onload = function(){ location.href = document.getElementById("autoid"); } </script> </head> <body> <a href="http://sakhihosting.in" id="autoid">Best Web Hosting Service</a> </body> </html> If you want click after few second change <script> window.setTimeout('clickit()',5000); function clickit(){ location.href = document.getElementById("autoid"); } </script> |