Close Facebox inside iframe
<p>I am using this mod:</p>

<p><a href="http://lnx.shortcutto701.com/2010/05/21/using-iframe-with-facebox-jquery-plugin/" rel="nofollow">http://lnx.shortcutto701.com/2010/05/21/using-iframe-with-facebox-jquery-plugin/</a></p>

<p>My question is, how do I make a button which is inside the iframe to close the facebox. I have been trying varients of this:</p>

<pre><code>&lt;button style="height: 50px;" onclick="window.parent.$.trigger('close.facebox')"&gt;&lt;span class="button"&gt;&lt;span&gt;Cancel&lt;/span&gt;&lt;/span&gt;&lt;/button&gt;
</code></pre>
