test.html示例
......
<script>
function check(id) {
$(top.document).find(".classA_frame, .classB_frame").each(function(){
var win = this.contentWindow;
$(win.document).find('#'+id).attr("checked",checked);
});
}
</script>
......
<iframe class="classA_frame" src="">
<iframe class="classB_frame" src="">
......