Pass data from Lighbox Modal Dialogue to parent page.

agulaid used Ask the Experts™
I am in the process of developing a form which allows for people to enter information through a Modal Dialogue (not the standard window popup) Box, but my question is how would i get the pass the entered data back to the parent page once the Dialogue Box is closed?

I've tried searching the Internet but can only find information on how to pass from a popup window to the parent page.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT Expert
Top Expert 2009
If I assume correctly, this modal box is just a div
So if you set any variable, it is set for the page that opened the modal thing itself

So in parent page

var someVar='set by parent now'

and in modal

someVar='set by modal now'


Thanks for that, the modal window actually shares the same variable sets as the parent... as you have pointed out.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial