Jump to content

Select Combobox item in IE form


 Share

Recommended Posts

How do I select a value in a combobox on a webpage?

<AutoIt> Local $oText = _IEGetObjById($oIE, "ProductDetailsForm_FolderID")

If StringLeft($itemArray[1][43], 1) = 1 Then

_IEFormElementOptionselect($oText, "BID", 1, 10007634, 1)

Else

_IEFormElementOptionselect($oText, "QC", 1, 10007053, 1)

EndIf</Autoit>

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