iframe中元素的获取

   iframe本身是一个独立的窗口,获取取中的元素,要先取得这个窗口的document.可以用document.getElementById("iframe_id").contentWindow.document来获得。
原文地址:https://www.cnblogs.com/cly84920/p/4427181.html