Jump to content
Sign in to follow this  

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>


$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)
      ;_IEFormElementOptionselect($oQuery, "none", 1, "bytext")

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


- 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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.