how do I programatically click the button described below in a webpage on .net 3.5 webbrowser
<TD id=cellGoButton bgColor=#ffffff>
<A onclick="javascript:OnAccountChangeLocalActivity();return false;"
title=Go class=hideOnPrint href="#"><IMG id=AcctGoButton
class=hideOnPrint border=0
name=AcctGoButton alt=Go align=absMiddle
src="/N600/image/ENGLISH/btn_go.gif">
</A></TD>
or invoke the java script directly?
getHtmlElementByID("cellGoButton") would help me get the <TD element not the button
I managed to extract the jscript function form the element's html into string variable jscrpt.
I tried invoke the jscript OnAccountChangeLocalActivity()ysgin
myWebBrowser.Document.InvokeScript(jscrpt);
but it did seem not do anything.
what did i miss? Do I also have invoke the "return false" also?
or should l just somehow click the button <IMG htmlelement instead?
(there used to a forum for webbrowser, but I think that's been archived and the .net languge forum people told this kind question is off topic and ask me to repost here