Create Dynamic function, then call it in the opener
<p>In a popup window, I create a string dynamically which represents a function existing in the window.opener</p>

<p>e.g. <code>funcstring = 'getProductListings("user_id",true)';</code></p>

<p>This is one of several possible functions that could be created dynamically, so I can't just hardcode it into the window.opener function call.</p>

<p>Then I want to call this in the opener something like as follows, but I'm not sure how to structure it.</p>

<pre><code>window.opener.funcstring; // Pure pseudocode; I have no idea how to construct it.
alert('Success');
window.close();
</code></pre>
