在iframe中获取另一个iframe中的元素

$(top.parent.iframeId).contents().find("#selector")
//iframeId为iframe的id名称

猜你喜欢

转载自www.cnblogs.com/samsara-yx/p/10210423.html