获取iframe中的元素

document.getElementById("iframe").contentWindow.document.getElementById("indexConHtml")
原文地址:https://www.cnblogs.com/SunShineM/p/7838371.html