Solved

Modal Popup on Web Page

Posted on 2012-04-10
2
588 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

726 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