Sign in to follow this  
Followers 0
FiGi

FORM dropdown list from script

3 posts in this topic

Hi,

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;
                  poz++;

        }


        if(lista_grupa.selectedIndex!=0)
        {

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

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