Dunno how complex this is gonna be. Hers what I have right now. Window A is the Parent window. After I make a selection in it from a dropdown it opens a popup window which has another dropdown menu populated with some data from the database. When a user selects an option from the popup it gets populated in a new text box in the parent window. I manged to do this. However I cant imagine how to pass all values to the parent and populate them in a new select box.
Example: user selects State from dropdown in parent window. After checking in the databse Popup window opens showing 4 states in dropdown NY, CT, NJ TX. User selects NY the popup closes and a new select box appears in main window with all 4 states available and NY selected as default.
Note: The values for state are not available when the page loads. They must be passed from the popup window.
Any help and sample code greatly appreciated.
Example: user selects State from dropdown in parent window. After checking in the databse Popup window opens showing 4 states in dropdown NY, CT, NJ TX. User selects NY the popup closes and a new select box appears in main window with all 4 states available and NY selected as default.
Note: The values for state are not available when the page loads. They must be passed from the popup window.
Any help and sample code greatly appreciated.