我正在嘗試爲EtherPad網站構建一個印刷鉻鑲嵌。問題是我不知道如何在使用jQuery使用jQuery在Etherpad上訪問<iframe>
EtherPad的一個iframe
內取出的
<body>
內嵌CSS中
iframe
如果打開EtherPad的文檔,讓我們http://typewith.me說,存在的HTML是這樣:
<body id="innerdocbody" class="syntax safari authorColors doesWrap" spellcheck="false" contenteditable="true" style="font-family: Arial, sans-serif; font-size: 13px; line-height: 17px; ">
我只需要使用jQuery刪除樣式屬性。 (我是一個CSS的傢伙,新的jQuery)