2012-02-13 45 views
-1

我知道我无法设计从另一个域加载的iFrame的内容样式。有没有可以放在父窗口中的JavaScript解决方案,这将允许我将HTML写入iFrame,如document.write <link rel="stylesheet"…我可以将HTML注入iFrame中

OR

我可以从一个iFrame的内容,并将其放入父窗口DIV?

+1

http://stackoverflow.com/questions/4119979/create-an-iframe-element-and-append-html-content-to-it-with-jquery – 2012-02-13 23:22:14

回答

0

如果它是一个跨域的iframe,你根本不能。