Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HTML code of text is
<a önclick="return dig_into(40, 79, " ಅ=");" href="#">Next></a>

dig_into is a javascript function

How to click this text?
Posted
Updated 24-Oct-11 21:27pm
v2

1 solution

First, get elements by tag name 'a', and then filter in by inner text.
VB
Dim yourObj as HtmlElement = (From ele As HtmlElement In wbrowser.Document.GetElementsByTagName("a") Where ele.InnerText = "Next>" Select ele ).FirstOrDefault 
 
Share this answer
 
Comments
Dalek Dave 25-Oct-11 3:43am    
Good answer.
[no name] 25-Oct-11 4:03am    
Exactly what i wanted. Thank you Patel
Prerak Patel 25-Oct-11 4:29am    
You are welcome.

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