Sign in to follow this  
Followers 0
kjreha

radio button help

1 post in this topic

hi,

I'm really confused. I've been trying to get this button selected on a webpage. You have to logon to get to it so I can't really use it as an exact example. But, I found this similar example searching the forums:

$sURL = "http://www.amazon.com/b/ref=sv_b_0/102-5993488-0177751?ie=UTF8&node=241582011"

$oIE = _IECreate($sURL)

$oForm = _IEFormGetCollection($oIE, 3)

_IEFormElementRadioSelect ($oForm, "field-title-words-begin" , "select-title")

what if you had to login to a website first, then navigate to another page. Does the $oIE need to be updated, to reference the new url?

sometimes I see the optional $i_index number used in the _IEFormGetCollection as 0, othertimes 2, or 3. Why would it matter if its 2 vs. 3? From the help file, doesnt it just have to be positive?

Also, my form does not have a name. It comes up as Form 0 using IEBuilder.

the following lines are the buttons I'd like to manipulate (from IEBuilder):

Index Tag Name ID

28 INPUT GENDER GENDER Form Input Type: radio Value: M DispHTMLInputElement

29 INPUT GENDER GENDER Form Input Type: radio Value: F DispHTMLInputElement

please help this noob! Thanks in advance!

-Kevin

Share this post


Link to post
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
Sign in to follow this  
Followers 0