greymonkey
Technical User
Hi,
I have a button on a form on a webpage which I am loading up using the webBrowser component in VB.net 2005.
The page has a form on which I am able to fill in using:
but I cant get the clicking the submit button to work.
I have the code:
but it is not doing anything.
The button is a on a java form if it makes any difference. the buttons code is:
Thanks,
I have a button on a form on a webpage which I am loading up using the webBrowser component in VB.net 2005.
The page has a form on which I am able to fill in using:
Code:
WebBrowser1.Document.GetElementById("Name").InnerText = "My Name"
I have the code:
Code:
WebBrowser1.Document.GetElementById("Search").RaiseEvent("onclick")
but it is not doing anything.
The button is a on a java form if it makes any difference. the buttons code is:
Code:
<br /><a id='Search' name='Search' href="javascript:submitAction_win0(document.win0, 'Search');" tabindex='34' accesskey='\'><img src='SEARCH_1.gif' name='Search' alt='Search (Alt+1)' title='Search (Alt+1)' border='0' align='middle' /></a>
Thanks,