Click here to Skip to main content
15,867,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi all
thnx for readding

this code from html page

HTML
<a class="setPoint " href="#"></a>


how I can click on this
Posted
Updated 20-Oct-13 2:19am
v2

You cannot possibly click on "href", because this is not an element shown on a page. But you can click on any inner HTML of the anchor element, if it is rendered on the page. To click on it, you can use a mouse, touch pad, drawing pad, touch screen or any other pointing device, and, in fact, a keyboard, by navigating using Tab and then pressing a spacebar key.

Only that can be considered as a click. You cannot use any software software tricks to actually click on anything, and, if you thing about it, you will understand that you never need it. If you want to get the same effect as the click, do exactly that (call the same JavaScript handler function, redirection, or whatever you want).

—SA
 
Share this answer
 
Can you explain a little more? If you have an anchor tag on the page, you won't be able to execute a 'click' event from C# because the C# is all server side. If you need it to happen at the browser you'll want to look at Javascript or jQuery. But, depending on what you're end goal is there might be a server side (c#) solution.
 
Share this answer
 
Comments
BillWoodruff 20-Oct-13 8:21am    
Please post questions and comments that are attempts to get the OP to clarify their question as comments on the OP, not as a "solution."
Ranjan.D 20-Oct-13 19:56pm    
Not Enough Information. Please restate your exact requirement or problem. I have logged into the page and all I see is + القمح 6 , Do you want to click on + and do some thing?

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