1) 選中IFRAME中的所有單選鈕
$(window.frames["iframe1"].document).find("input[@type='radio']").attr("checked","true");
2).去掉子窗口中類名爲top_menu元素的css屬性類on
$(window.frames["iframe1"].document).find('.top_menu').removeClass("on");
2.在IFRAME中操作父窗口的元素
1) 選中父窗口中的所有單選鈕
$(window.parent.document).find("input[@type='radio']").attr("checked","true");
2父窗口元素ID爲_M1408加上CSS類on
$(window.parent.document).find("#_M1408").addClass("on");
iframe框架的:<iframe src="http://chenxinwen2006.blog.163.com/blog/test.html" id="iframe1" width="700" height="300" frameborder="0" scrolling="auto"></iframe>
好像也可以用$("#myid", top.document);
子窗體:opener;(window.opener.reload();)
$(window.parent.document).find("#alimamaifrm").attr("src","http://www.163.com");