jQuery/javascript communicate between windows?
<p>I have a window with a link.</p>

<p>When the link is clicked, a modal box opens (it's loading another page in an iframe).</p>

<p>The iframe contains a login. When the user logs in, I would like the modal box to close and send a message back to the original page.</p>

<p>How do I go about this?</p>

<p>Is there a javascript event or a way to dispatch a message between a window and a related iframe?</p>
