Two List Windows - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Two List Windows

mpangrekarmpangrekar Posts: 9Member
Hello,

I am trying to do this:

At this site, http://www.eng.usf.edu/~mpangrek/interface5.html
I have one list window which has 3 commands and I would like to acheive this: when user clicks/double clicks on any one command in the right window that command should appear in the Left window.

How can I make this appear in the left window from the right window using Javascript?

Thank You !!!
Mayur


Comments

  • ModalmanModalman Posts: 1Member
    : Hello,
    :
    : I am trying to do this:
    :
    : At this site, http://www.eng.usf.edu/~mpangrek/interface5.html
    : I have one list window which has 3 commands and I would like to acheive this: when user clicks/double clicks on any one command in the right window that command should appear in the Left window.

    Hi. I'll start you off. Its quite involved especially if you want it to work in Netscape as well as IE.

    Within the Select tag insert the following:



    This will call a function called optionchg(optionNo). In that function you can delete the value from the one list box and then create another in the other listbox. You may have to create a couple of vars to hold the no of options in each box. Also onClick might be better to use instead of onChange but I have never tried this. OnDblClick may be even better. Hope this gets you started anyway.





  • mpangrekarmpangrekar Posts: 9Member
    Thank You !!
    That helped !!
    Mayur

    : : Hello,
    : :
    : : I am trying to do this:
    : :
    : : At this site, http://www.eng.usf.edu/~mpangrek/interface5.html
    : : I have one list window which has 3 commands and I would like to acheive this: when user clicks/double clicks on any one command in the right window that command should appear in the Left window.
    :
    : Hi. I'll start you off. Its quite involved especially if you want it to work in Netscape as well as IE.
    :
    : Within the Select tag insert the following:
    :
    :
    :
    : This will call a function called optionchg(optionNo). In that function you can delete the value from the one list box and then create another in the other listbox. You may have to create a couple of vars to hold the no of options in each box. Also onClick might be better to use instead of onChange but I have never tried this. OnDblClick may be even better. Hope this gets you started anyway.
    :
    :
    :
    :
    :


Sign In or Register to comment.