【发布时间】:2010-06-05 05:14:10
【问题描述】:
我在我的页面中使用了两个框架。 Main名中的页面将获得输入,而Top frame必须显示结果页面。
我在大型机页面中使用以下代码。但它显示了
错误:“Microsoft JScript 运行时错误:'topFrame' 未定义”
代码:
<frame src="" id="topFrame" target="topFrame" scrolling="no">
<frame src="txtPage.aspx" target="topFrame" name="mainFrame">
txtPage(MainFrame)
Response.Write("<script>topFrame.location.href=\"Homepage.aspx\";</script>");
【问题讨论】:
标签: c# asp.net javascript frames