Iframe window updating parent window property?

C

Chandra

Hi all,

I am running into an issue with iframe source updating a parent window
property (basically for the position based on the iframe's height).
This works fine when both iframe source and the html are in the same
domain. However if the iframe source is another domain, I get a
"permission denied" error.

On analysis, found this is restricted to disable cross site scripting.

I looked at the possibility of the iframe passing parameters on the
URL indicating the parent window to alter its position. Again setting
top.location.href from iframe gives "permission denied" here.

Is there any work around for the same?

Thanks in advance for any inputs.

Warm Regards,
Chandra
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top