Target buttons in an iframe?
<p>I'm doing an Android Web catalog, and for that reason I had to use iframes. I wanted to ask, however, is it possible to click a button in an iframe and make the code work in the main page?</p>

<p>This is the code I have:</p>

<pre><code>     function initFastButtons() {
        new FastButton(document.getElementById("CloseButton"), runclose);
        new FastButton(document.getElementById("OpenButton"), runopen);
     };
     function runclose() {
        $('.full-preview-viewer').hide();
     };
     function runopen() {
        $('.full-preview-viewer').show();
     };
</code></pre>

<p>And this is what a button in an iframe looks like:</p>

<pre><code>&lt;input id="OpenButton" type="image" src="products/special/product1.png" name="image" width="336" height="593"&gt;&lt;/input&gt;
</code></pre>

<p>Thanks everyone :)</p>
