window.opener.doccument.getelementbyid() is not working when popup from iframe
<p>I am calling a popup from an iframe and when I click a button the popup should close and show a message in parent iframe.  I am using the javascript below</p>

<pre><code>function ClosePopup() {
   var fRame = window.opener.document.getElementByID('lblMessage').innerHTML="testMessage"; 
   self.close();
} 
</code></pre>

<p>However, when I execute this, an error is returned : <code>getelementbyid is null</code>.</p>

<p>How can I show a message in the parent iframe. Can anyone help me?</p>
