newWindow.opener.function()?
<p>So I am opening a window using the following code:</p>

<pre><code>newWindow = window.open('criteria.php?type=culture','','width=400,height=300');
newWindow.focus();
</code></pre>

<p>I would like to call a function whenever the child window (newWindow) does something, such as add, edit, delete a certain property, or if the child window closes.</p>

<p>Would I do it like this:</p>

<pre><code>oldWindow = newWindow.opener;
oldWindow.function('argument');
</code></pre>

<p>Or is there another way?</p>
