js iframe子父页面读取方式

 

$(window.parent.frames["iframe1"].document).find("input[@type='radio']").attr("checked","true");

$(window.parent.frames["iframe1"].document).find("div >table >tr[id=1]").children().each(function(){

  $(this).val();$(this).html()

})

posted @ 2011-01-04 14:15  洗碗心得  阅读(390)  评论(0)    收藏  举报