父页面

<iframe name="iframe1" ></iframe>
<iframe name="iframe2" ></iframe>
<script type="text/javascript">
function p_mothd1(){
   alert('p_mothd1');
}
</script>

子页面iframe1页面

function iframe1_mothd1(){
   alert('iframe1_mothd1');
}

js操作

父页面调用子页面方法
parent.frames["iframe1"].window.iframe1_mothd1()
父页面调用子页面元素
parent.frames["iframe2"].document.getElementById('id2')
子页面调用父页面方法
parent.p_mothd1();
子页面调用父页面元素
parent.document.getElementById("id3");

jquery操作

子调父
$("#id",parent.frames["iframe1"].document).html();
父调子
$('#id', parent.document).html();