关于fameset:假设有2个frame,frame1和frame2
1,在frame中的一个button执行一个命令,就关闭整过框架页面,用了javascript:window.close()关不掉页面的,怎么关闭呢?
2,在frame1添加或者修改了数据怎么在frame2中立即刷新并显示出来?
1,在frame中的一个button执行一个命令,就关闭整过框架页面,用了javascript:window.close()关不掉页面的,怎么关闭呢?
2,在frame1添加或者修改了数据怎么在frame2中立即刷新并显示出来?
第二个,
问题2:如果是父窗体的话:window.opener=null;window.open('','_self');window.close();
两个frame都是子窗体,建议重新加载整个大的页面
看到那个标记我就想到asp 现在asp.net很少用那个好像!(个人意见)
楼下跟上~
parent.window.close();
2.
parent.frame2.location.href=parent.frame2.location.href
2.top.frame2.location.href=''
parent.frame2.location.href=parent.frame2.location.hrefjf~~
parent.window.close();
2.
parent.frame2.location.href=parent.frame2.location.href