iframe 嵌入的页面给父级页面元素赋值

window.parent.document.getElementById("name").value=arr[0];
原文地址:https://www.cnblogs.com/h-c-g/p/15308590.html