Hey, I need to click this
<span class="default_message">Like</span>
In visual basic, please tell me how.
Hey, I need to click this
<span class="default_message">Like</span>
In visual basic, please tell me how.
From what I know about HTML, you cannot click a <span> 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 <span> code uses a CSS class value that sets that <span>'s formatting depending on the CSS.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.