$(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() })