利用Jquery取得iframe中元素的几种方法 :
$(document.getElementById('iframeId').contentWindow.document.body).htm()
显示iframe中body元素的内容。
$("#testId", document.frames("iframename").document).html();
根据iframen
$(document
显示iframe中
$("#testId
根据iframen