Using jQuery to get the value of an element of the parent window in IFRAME
It can only be achieved by combining the DOM method and jquery method
1. Select all radio buttons in the IFRAME in the parent window
$(window.frames["iframe1"].document).find(" input[@type='radio']").attr("checked","true");
2. Select all radio buttons in the parent window in the IFRAME
$(window.parent.document).find(”input[@type= 'radio']").attr("checked","true");
iframe:
Test passed in IE7
" -//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">