
jquery中$(document.getElementById('iframeId').contentWindow.document.body).html
jquery中$(document.getElementById('iframeId').contentWindow.document.body).html()怎么执行才...
jquery中$(document.getElementById('iframeId').contentWindow.document.body).html()怎么执行才能显示iframe中body元素的内容。
展开
展开全部
var $C = function(c){
return $("#你的iframeID").contents().find(c);
}
$C("#你想要显示iframe页面里面的元素id").show()
return $("#你的iframeID").contents().find(c);
}
$C("#你想要显示iframe页面里面的元素id").show()
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |