I am using JQuery’s thickbox to input form data. Would like to auto close the thickbox and send a variable back to the parent from the thickbox form input upon submit.
Share
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.
Depending on how you’re showing the Thickbox popup, there are going to be different ways to accomplish what you want.
If you’re using an IFRAME popup, there is no way (that I know of) to pass the value back to the parent.
If you’re using inline content (what I would suggest for this purpose), the value will still be available to you after Thickbox hides the inline content. You can then use jQuery to access the fields that the user filled in.