Friday, June 1, 2012

Allowing Javascript to Call Each Other Across iFrames

This only works if the pages in the iframes are all hosted on subdomains on the same root domain.

Run this Javascript line in all the iframes: 

<script type="text/javascript">
  document.domain="yourdomain.com";
</script>

References:

No comments:

Post a Comment