Sign in to follow this  
Followers 0
Terenz

IE Get all element of list

2 posts in this topic

Hello guys,

I have a list ( is like a combobox in a classic GUI ) and i want to retrive all the element of this list-combobox. After get the ID with _IEGetObjById, what i need to do?

The code:

<select name="List" id="MyList" style="font-size:Smaller;width:420px;">
        <option value="Name">Name</option>
                <option value="Name2">Name2</option>
</select>

Thanks


Nothing is so strong as gentleness. Nothing is so gentle as real strength

 

Share this post


Link to post
Share on other sites



Local $oOptions = $oCombobox.options
For $oOption In $oOptions
    ConsoleWrite($oOption.text & @CRLF)
Next


Nothing is so strong as gentleness. Nothing is so gentle as real strength

 

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