Sign in to follow this  
Followers 0
diikee

Getting option values and re-using them

2 posts in this topic

<SELECT onchange=setQuality(this); name=quality>

<OPTION value=high>medium</OPTION>

<OPTION value=medium selected>high</OPTION>

<OPTION value=low>fine</OPTION>

<OPTION value=xlow>superfine</OPTION>

</SELECT>

$oForm = _IEFormGetObjByName ($oIE, "myform")
$oInputs = _IETagNameGetCollection ($oIE, "select")
For $oInput In $oInputs
    If ($oInput.name) = "quality" then 
            
        MsgBox(0, "Form Input Type", "Form: " & $oInput.innnerText
        & " Type: " & $oInput.Option)
        ExitLoop
    EndIf
      ;_IEFormElementOptionselect($oQuery, "none", 1, "bytext")
Next

I want to:

- get all the values before I start the selection option but having problems

MsgBox(0, "Form Input Type", "Form: " & $oInput.innnerText

MsgBox(0, "Form Input Type", "Form: " & $oInput^ ERROR

Share this post


Link to post
Share on other sites



im am not really shure what you are trying to do but

$oInput.innnerText

- inner has only 2 "n"

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