Jump to content
Sign in to follow this  

Javascript and Combobox

Recommended Posts

I'm trying to select from a javascript combobox, but I can't put focus on it.

I tried this:


       Local $oFormNextInterface = _IEFormGetObjByName($oIE, "modalCreateForm")

       Local $oSelect = _IEFormElementGetObjByName($oFormNextInterface, "modalCreateForm:presentationLocale")
       _IEAction($oSelect, "focus")
       _IEFormElementOptionSelect($oSelect, "engb", 1, "byText")


I'm not sure I got the right object, but here is the source. I have attach 2 pictures. One is showing what I want to find. And the other one is showing the source. What is highlighted in the source is also what I have selected on the other picture.



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  

  • Create New...