从父页面中选择iframe中的元素:
$('#ID',$('#PopFrame')[0].contentWindow.document)
从iframe页面中选择父页面中的元素:
$("#ID",parent.document)
从父页面中选择iframe中的元素:
$('#ID',$('#PopFrame')[0].contentWindow.document)
从iframe页面中选择父页面中的元素:
$("#ID",parent.document)
转载于:https://www.cnblogs.com/sunly/archive/2011/06/25/2090154.html