Try this one:

$(‘myIframe’).contentWindow.document.getElementById('myDiv')

or ..

$(‘myIframe’).document.getElementById('myDiv')


hope it helps,

-Laurent



On Oct 10, 6:52 am, m4manoj <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> How to access the parent.myIframe.myDiv.innerHTML in Prototype.js way?
> $(‘myIframe’) returns the HTMLIFrameElement object.  But how to read a
> div within this?
>
> I tried $(‘myIframe’).$(‘myDiv) but doesn’t work!
>
> Can someone please suggest something?
>
> Thanks,
> -Manoj.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to