html - How to start a link when entering page? -
i have link on web page:
<a id="demo03" href="#modal-03">demo03</a>
how can make link run automatically, when enter page?
hope can me!
thanks :-)
try this
<html> <head></head> <body> <a id="demo03" href="#modal-03">demo03</a> <script type="text/javascript"> (function() { var link = document.getelementbyid('demo03'); link.click(); })(); </script> </body> </html>
Comments
Post a Comment