Sign in to follow this  
Followers 0
Valnurat

Javascript and Combobox

3 posts in this topic

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



Looks like the same issue you previously attempted >here. Like requested in the earlier thread, you need to post the actual html source (not a screen shot).

Share this post


Link to post
Share on other sites

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  
Followers 0