Jump to content

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.

post-62705-0-95472300-1406113041_thumb.j

post-62705-0-92764000-1406113050_thumb.j

Yours sincerely

Kenneth.

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