Jump to content

Radio check button help


Recommended Posts

is there an easy way to click a radio button on a website?. iv tried the radio array helpfile but can't bring my head around it,

the source im trying to click / Check is;


<td><input type='radio' name='vote' value='10' id='10' onclick='this.form.submit()' /></td>

<td><label for='10'>10</label></td>


i need it to check that button at the end of my script..

Link to comment
Share on other sites

Since its in a website you should read in the helpfile about

_IE* functions

specifically this seams like a good place to start


I have to see the page to know exactly what function you need.



Edited by Negative1

What are we going to do tonight Brain?Same thing we do every night Pinky try to automate the world.

Link to comment
Share on other sites

nvm thx for the help but got it working =)

#include <IE.au3>

$oIE = _IECreate ("http://www..no/index.php?id=504242")

$oForm = _IEFormGetObjByName ($oIE, "mainform")

_IEFormElementRadioSelect ($oForm,"10", "10", 1, "byvalue")


Edited by pezo89
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...