Pass value from pop up to parent window via window.opener
<p>I know that similar questions have been asked before but I have not been able to find one that uses window.opener in the same way that I have.</p>

<p>I have a page that opens a pop up to display/edit/delete values in a db.  Once it has done it's thing I use this to end the script and go back to the parent. </p>

<pre><code>die( "&lt;script&gt;window.opener.location.reload();window.close();&lt;/script&gt;");
</code></pre>

<p>This works well but I would like to pass a value back to the parent that I can use $_GET to retrieve.</p>

<p>This is for a a calendar and I use the above code to refresh the parent page so that the changes made to the diary event displayed in the pop up are automatically displayed (otherwise the user has to refresh themselves).  At the moment when the page refreshes it goes back to the default date which is today rather than the date of the event affected.  I would like to pass the date back to the parent</p>

<p>tia</p>
