I have a Webrowser with some settings that change using javascript. I am trying to use an example here , but cannot get the correct syntax
the script is as follows
<div class="DisplayInput"><input type="radio" name="displaytype"
value="decimal" onclick="setdisplayType('decimal');" checked="checked"><a
href="javaScript:setdisplayType('decimal');"
onclick="s_objectID="javascript:setdisplayType('decimal');_1";return this.s_oc? this.s_oc(e):true">Decimal</a></div>
So far I tried this without success
this.webBrowser1.InvokeScript("setdisplayType");
this.webBrowser1.InvokeScript("setdisplayType('decimal')");
this.webBrowser1.InvokeScript("setdisplayType","decimal");
source
share