Modal Popup on Web Page

Can I get a simple example of how to do a modal popup on a webpage that will pass input back to the 'parent' form once it's dismissed?
tsprksAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wasiftoorCommented:
You will find the perfect example of how to open up a modal dialog and how to pass values from child to parent window on the following URL:

http://stackoverflow.com/questions/1490294/pass-value-from-parent-form-to-child-form-using-javascript-showmodaldialog

Hopefully this will help.

Good Luck!
0
Tom BeckCommented:
I answered a very similar question back in November. It includes a working example. This one involved loading a different page entirely into the modal popup using jquery ajax and returning a value back to the parent.

http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_27442564.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.