Click here to Skip to main content
16,018,534 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
PHP
<div class="buttons">
<div class="post-icon">
<div class="reply-icon">
<a title="Publicar una respuesta" href="mysite.com">
<span></span>
Publicar una respuesta
</a>
</div>
</div></div>


I make click automatically on the follow button :

PHP
<div class="post-icon">
<div class="reply-icon"></div></div>


I have a forum and I want post and reply with my login automatically, can you help me in visual basic 2010?
Posted
Comments
Sergey Alexandrovich Kryukov 15-Aug-11 22:48pm    
Not clear; there is even no a single button in this code.
--SA

1 solution

Your Question is not very clear, how I understand you is you want to be able to click the div and do something as if you clicked a button.

See the code below;
HTML
<html>
<head>
<title>Hello World! Sample Page</title>
<script type="text/javascript">

    function divClick() {
       alert("Hello World!");
    }
</script>
</head>
<body>
<div onclick="divClick()">Please Click Me!</div>
</body>
</html>
 
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