DaviiD2010
Programmer
Hi all i have html page loaded in to my webbrowser controle that looks like this:
I used the following codes to click on it but it doesn't work . could you guys tell me what i am doing wrong ? Thanks
or
Code:
<a href="[URL unfurl="true"]http://www.somesite.com/recordds.wmt?page=31"[/URL] title="Go to Next Page" onfocus="if(this.blur)this.blur();"
> next »</a>
Code:
Private Sub Command8_Click()
For Each ele In WebBrowser1.Document.getelementsbytagname("a")
If ele.innertext = " next »" Then ele.Click
Next
End Sub
or
Code:
Private Sub Command8_Click()
For Each ele In WebBrowser1.Document.getelementsbytagname("a")
If ele.innertext = "next" Then ele.Click
Next
End Sub