Click to See Complete Forum and Search --> : popup to populate drop down menu for form


plastic_chai
06-28-2003, 11:35 AM
I have a form with many selections on it. Next to that
I have buttons that will trigger a popup window. In
that window there are color choices that should be
clickable to populate the choice from the drop down
list.

Can anyone help me with this?

CHAI

Khalid Ali
06-28-2003, 12:03 PM
Hello Chai!!
Take a look at this link..it demonstrates how to communicate between a parent window and a child window...

http://68.145.35.86/skills/javascripts/ParentWinInteractionWithChildWin.html

plastic_chai
06-28-2003, 05:36 PM
Hi Khalid,

Thanks! I knew it was a parent/child issue. What I have in my popup menu is a series of pictures that need to be clickable to populate the name of that pic in the drop down menu.

I need to figure out how to do this with 6 pop ups. I have to demonstrate 6 categories with each having a unique window with those clickable windows.

I'll ask you, since I am a novice, would there be much configuring with ridding the push button on the example you showed me and doing this with pics? And do you know of any issues surrounding having the 6 unique windows I just spoke of?

Here's an image of what I am trying to do.
http://www.loribeai.net/javascript/e_example.jpg

Thanks,
Chai

Khalid Ali
06-28-2003, 05:50 PM
no if you look at the source codes you only need to call the underlying functions in the buttons html's onclick event to and yes you can have several unique windows and communicate with them.

plastic_chai
06-28-2003, 06:12 PM
:D COOL. I'll give this a try tonight and tomorrow and let you know how it goes. Thanks so much.

CHAI :)

plastic_chai
07-04-2003, 03:32 PM
Hi Khalid,

I am working on this popup portion of my project. I have been thinking over the issue and how to execute it and I have a questions for you.

1. should I treat each color choice as a input button? And if so how do I pass the value of the button to the drop down?

There is a pic attached to this reply. I want the pics to be clickable to populate the drop down.