Jump to content
Sign in to follow this  

FORM dropdown list from script

Recommended Posts



I have a little problem going through a form that looks like this:

Posted Image

I can easily select what i want from the 3 option lists on the left

$oForm = _IEFormGetObjByName ($oIE, "rejestrowanie")
$oSelect = _IEFormElementGetObjByName ($oForm, "lista_klient")
_IEFormElementOptionselect ($oSelect, "745")

, but the options list on the right is built with a script:

poz = 1;
        czynnosc.options.length = poz;
        for (key in czynnoscArray)

                  czynnosc.options.length = poz+1;
                  czynnosc.options[poz].text = czynnoscArray[key];
                  czynnosc.options[poz].value = key;



and using the same method as above it just doesn't work :)

Can anyone help me with this? ...Thanks in advance

Share this post

Link to post
Share on other sites

any idea at all ? ...i can provide more info if needed

That would probably be a good idea. Can you provide a link to the page or at least the generated source.

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.