Hey,
I have a site, which I need to select a radiobutton through code.
This is the code from the site
Right now I'm trying this code, but it won't work.
I want to be able to set the value from 2-4, but how can i do this?
Thanks anyway,
gixslayer
I have a site, which I need to select a radiobutton through code.
This is the code from the site
VB.NET:
<input type="Radio" class="radio" name="c" value="2" checked /> Versterking<br>
<input type="Radio" class="radio" name="c" value="3" /> Aanval<br>
<input type="Radio" class="radio" name="c" value="4" /> Overval </td>
Right now I'm trying this code, but it won't work.
VB.NET:
Mainform.WebBrowser2.Document.All.GetElementsByName("c").Item(0).SetAttribute("value", 3)
I want to be able to set the value from 2-4, but how can i do this?
Thanks anyway,
gixslayer