I need to do this using PHP and Javascript.
I have one form with multiple inputs. One of them is the floor.
When they click on the link / button, I need to pass the value of the gender drop-down list to the popup.
Based on this value, I show portraits of men or women.
I would like to pass the value back to the parent window as soon as they selected the portrait, and then click the button.
I have code to display portaits. But how do I pass values back and forth, and how do I make the value passed from the parent window available for my PHP code in a new popup?
Any help is greatly appreciated.
source
share