I need to summon a popup, and select some value, in the popup window. When submitting, that value should be passed to the main window without reloading...

Eg: In the popup, I select a value in a "select" input field, and, when submitting, a main frame's input should change.

Any Help?