可以從iFrame中的html頁面中刪除div。 在下面的代碼中,我們正在獲取html頁面,並顯示在iframe中..我可以從下面的HTML頁面中取出。在iframe中顯示之前編輯頁面
<script type="text/javascript"> (function(){ document.write(['<iframe name="myfxbook_market" width="100%" height=' + height + ' frameborder="0" allowtransparency="true" hspace="0" vspace="0" marginheight="0" marginwidth="0" src=' + "http://widgets.myfxbook.com/widgets/calendar.html"+ps+"></iframe>"].join('')); }()); </script>"
或者是有任何其他方式顯示之前進行編輯這個頁面? 感謝您的幫助。
刪除頁面?只是不包含代碼? – epascarello 2014-08-29 16:04:16
這是我的網站中添加的小部件的代碼..只是想在添加之前對它進行一點編輯。 它從myfxbook.com中獲取它。那不是我的網站.. – user3845490 2014-08-29 16:08:51
你想編輯一下什麼? iframe中的代碼或生成iframe的代碼... – epascarello 2014-08-29 16:15:20