954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Click SPAN.

Hey, I need to click this

<span class="default_message">Like</span>


In visual basic, please tell me how.

CharliePrynn
Newbie Poster
10 posts since Nov 2010
Reputation Points: 10
Solved Threads: 0
 

From what I know about HTML, you cannot click a and have it return something unless it has a option like the "onclick" option.
Example:

<style type="text/css">
span.default_message {color:SteelBlue;font-size:25px;cursor:pointer;}
</style>
 
<span onclick="location.href='http://www.daniweb.com'" class="default_message">Link to DaniWeb.com</span>


Your HTML code uses a CSS class value that sets that 's formatting depending on the CSS.

codeorder
Posting Virtuoso
1,915 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: