hi David,

Thanks for sharing!

I thought the policy is applicable only for accessing the content from
parent window to iframe. So, the access permission in both ways is not
possible.


Regards,
Venkatesan M


On Tue, Apr 5, 2011 at 4:04 PM, David Dorward <[email protected]> wrote:

> On 5 Apr 2011, at 10:52, Mahendran Venkatesan wrote:
>
> In my website, I have a requirement like the iframe js should access the
> form fields of parent window. I tried with "window.parent.document.forms",
> but it is not working.
>
>
> Is there any possibility to access the parent window content from iframe
> js?
>
> p.s. The iframe and parent window are different domain. The js file resides
> in iframe.
>
>
> No. https://developer.mozilla.org/en/Same_origin_policy_for_JavaScript
>
> --
> David Dorward
> http://dorward.me.uk
>
>
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [email protected]
> *******************************************************************
>


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to