Solved

Modal Popup on Web Page

Posted on 2012-04-10
2
580 Views
Last Modified: 2012-04-11
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?
0
Comment
Question by:tsprks
2 Comments
 
LVL 9

Assisted Solution

by:wasiftoor
wasiftoor earned 250 total points
ID: 37830576
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
 
LVL 38

Accepted Solution

by:
Tom Beck earned 250 total points
ID: 37830586
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

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses how to create an extensible mechanism for linked drop downs.
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question