如果一个页面里有框架,分为左右两侧,左侧的名字为:hello1.aspx,
右侧的框架页面名为:hello2.aspx。那么如果我对hello1进行操作,
希望对hello2 产生影响,这样要保证对hello2进行刷新,方法很简单:
如下的三行可以实现:下面的几行在hello1下的某个事件中编写,
比如在单击hello1下的按钮时候
Response.Write("<script language=javascript>")
Response.Write("window.parent.main(frame 的名称).location='hello2.aspx';")
Response.Write("</script>")