Having trouble gaining focus(no id in page source)

Johnson

Well-known member
Joined
Mar 6, 2009
Messages
158
Programming Experience
Beginner
Hello. I'm having a little trouble gaining focus on logout. Unsure what to use as id?

normally i use
VB.NET:
Me.WebBrowser1.Document.GetElementById("name").Focus()


But im trying to logout of my account. but unsure how to click the logout link?

here is the source

VB.NET:
	<td class="navrow">
		<a href="./ucp.php">User Control Panel</a> • <a href="./ucp.php?i=pm&folder=inbox"><strong>6</strong> new messages</a> • 		<a href="./faq.php">FAQ</a>
		 • <a href="./search.php">Search</a> • <a href="./memberlist.php">Members</a> • <a href="./ucp.php?mode=logout&sid=8f3eabe173eb5aded719bf96e6fb857c">Logout [ Johnson ]</a>	</td>
 
Back
Top