iframe没有name,id,class如何获得其中的html内容?
$('iframe')[ index ].contentWindow.document
试试...
$(document.getElementById('ContenIframe').contentWindow.document.body)
window.top.frames[index].contentWindow.document
iframe没有name,id,class如何获得其中的html内容?
$('iframe')[ index ].contentWindow.document
试试...
$(document.getElementById('ContenIframe').contentWindow.document.body)
window.top.frames[index].contentWindow.document