I am having a problem getting a radio box on a page to check using autoit..
The below code is in fact accessing each radio box one by one but not checking them
I sorta made up the $oInput.status or is that a real status that I just lucked across..
am I almost right... or no..
Local $oInputs = _IETagNameGetCollection($oIE, "input")
For $oInput In $oInputs
if $oInput.Type = 'radio' then $oInput.status = 'checked'
Next
<input name="RB1" value="1" type="radio" >
<input name="RB2" value="0" type="radio">
I cannot set the value to 1, since I believe its status I want to set and not value..
Thanks.
The below code is in fact accessing each radio box one by one but not checking them
I sorta made up the $oInput.status or is that a real status that I just lucked across..
am I almost right... or no..
Local $oInputs = _IETagNameGetCollection($oIE, "input")
For $oInput In $oInputs
if $oInput.Type = 'radio' then $oInput.status = 'checked'
Next
<input name="RB1" value="1" type="radio" >
<input name="RB2" value="0" type="radio">
I cannot set the value to 1, since I believe its status I want to set and not value..
Thanks.