-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
  • 369,052
  • 73
  • 620
  • 1,021
henryaaron
  • 5,808
  • 19
  • 58
  • 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
  • 75,331
  • 23
  • 142
  • 223