Jump to content
Sign in to follow this  
Valnurat

Javascript and Combobox

Recommended Posts

Valnurat

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.

Share this post


Link to post
Share on other sites
Valnurat

LOL.

Thank you for finding this. I couldn't find it. I will update the previous thread.


Yours sincerely

Kenneth.

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.