Jump to content

Getting option values and re-using them


Recommended Posts

<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

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...