Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i have a code which is hided under button.

i need autoclick script for when user visit my site it will automatically click button and under button code tooo....


kindly help me....
Posted
Comments
Sergey Alexandrovich Kryukov 29-Sep-13 23:24pm    
The question makes no sense. What script, in what system/framework/language? and so on...
—SA
Thanks7872 30-Sep-13 1:06am    
If the code is to be executed automatically then why you need button? Tag the question properly as suggested by Sergey in above comment.

1 solution

I'm still new to html so please forgive me if this is not even close to what you're looking for :)
<head>
    <script>
        function your_function(){
             <!--your code goes here-->
        }
    </script>
</head>
<body onload="your_function()"></body>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900