jQuery中,子页面与父页面之间的调用方法

在jQuery中,

子页面查找父页面的元素

parent.$("#元素Id")

父页面调用子页面的元素

$("#子页面iframe的Id").contents().find("#子页面中的元素")
原文地址:https://www.cnblogs.com/taotaodetuer/p/4789056.html