I have a form and some fields on the form want to be filled via a popup.
My popup basically contains 3 text boxes. After clicking submit on the popup how can i transfer the values of the text boxes to the main form?
Any ideas?
Thanks,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have 2 options:
When the popup is submitted & closed, you can reload the asp page & fetch the new results from the server & populate the controls
The same can be done on the client-side using javascript to fill in the values to the form. You can set the window.opener property when opening the popup to get a reference of the form, get a handle to the form fields you wish to populate & set the values accordingly
HTH.