Javascript : add string to iframe with window.opener form popup
I use this code for add string to element of parent windows form popup :

    window.opener.document.getElementById('myid').innerHTML += 'string';

Now I want to add string to element of iframe form popup.Both of iframe and parent is in the same domain. I try this code but not work:

    parent.myframename.window.opener.document.getElementById('iframeelementid').innerHTML +=  'string';

What is wrong? Is there any way to do this?

Thanks for any help.
Javascript : add string to iframe with window.opener form popup
===

I use this code for add string to element of parent windows form popup :

    window.opener.document.getElementById('myid').innerHTML += 'string';

Now I want to add string to element of iframe form popup.Both of iframe and parent is in the same domain. I try this code but not work:

    parent.myframename.window.opener.document.getElementById('iframeelementid').innerHTML +=  'string';

What is wrong? Is there any way to do this?

Thanks for any help.