Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27396

VS 2010 Click Button Help Needed

$
0
0
Okay so basicly there are 3 button on the page with the SAME name and NO ID, However there are "Hidden" values for the buttons.

Application should:
If Radiobutton1 is checked i want it to click website button 1
If Radiobutton2 is checked i want it to click website button 2
If Radiobutton3 is checked i want it to click website button 3

Button 1 HTML code:
<input type="hidden" name="type" value="1">
<input class="buttong" type="submit" name="level" value="Level">

Button 2 HTML code:
<input type="hidden" name="type" value="2">
<input class="buttong" type="submit" name="level" value="Level">

Button 3 HTML code:
<input type="hidden" name="type" value="3">
<input class="buttong" type="submit" name="level" value="Level">



Also i need this (Diffrent code):
If the number on the webpage says 1 click button 1
If the number on the webpage says 2 click button 2
If the number on the webpage says 3 click button 3


HTML Codes:
<td width="33%" align="center" style="font-size:20px;">1</td> (If this number says 1/2/3 click on webpage button)

Button 1:
<input class="buttong" type="submit" style="font-size:20px;" name="27211" value="1">

Button 2:
<input class="buttong" type="submit" style="font-size:20px;" name="27211" value="2">

Button 3:
<input class="buttong" type="submit" style="font-size:20px;" name="27211" value="3">

Viewing all articles
Browse latest Browse all 27396

Trending Articles