How to return a variable in SimpleModal after closing it
This seems like it would be a pretty wide-spread use for simplemodal but I cannot find how to do it anywhere.

I am pulling up a page via iframe using simplemodal, generating a variable, then I would like to pass it back to the parent page when the modal is closed.

How would I go about doing this?

Thanks for any help!
How to return a variable in SimpleModal after closing it
===

This seems like it would be a pretty wide-spread use for simplemodal but I cannot find how to do it anywhere.

I am pulling up a page via iframe using simplemodal, generating a variable, then I would like to pass it back to the parent page when the modal is closed.

How would I go about doing this?

Thanks for any help!