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

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

formula - R: how to pass in a reference to the variable in glm or lm? -