-1

I know that I cannot style the content of an iFrame loaded from another domain. Is there a JavaScript solution that I can place in the parent window, that will allow me to write HTML into the iFrame, like document.write <link rel="stylesheet"…?

OR

Can I take content from an iFrame and place it into a DIV in the parent window?

Lightness Races in Orbit
  • 378,754
  • 76
  • 643
  • 1,055
henryaaron
  • 6,042
  • 20
  • 61
  • 80
  • 1
    http://stackoverflow.com/questions/4119979/create-an-iframe-element-and-append-html-content-to-it-with-jquery – Jeff Wooden Feb 13 '12 at 23:22

1 Answers1

0

If it's a cross-domain iframe, you simply cannot.

Jacob
  • 77,566
  • 24
  • 149
  • 228