Jump to content

Simulate click on radio button


longphant
 Share

Recommended Posts

<input id="one" onclick="JavaScript:selectPage('1')" name="theRadio" CHECKED="checked" type="radio"><label for="one">One</label>
<input id="two" onclick="JavaScript:selectPage('3')" name="theRadio" type="radio"><label for="two">Two</label>

How can I simulate click on Two?

Link to comment
Share on other sites

I have tried _IEFormElementRadioSelect (but there is no value or index field). I also tried

$radio = _IEFormElementGetObjByName($oForm, "theRadio") but I get a warning that "--> IE.au3 V2.4-0 Warning from function _IEFormElementGetObjByName, $_IEStatus_NoMatch"

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
 Share

  • Recently Browsing   0 members

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