Hi All,
I am using two frames in my page. The page in Main fame will get the input and Top frame has to display the result page.
I am using the following code in the mainframe page. But it shows
error:"Microsoft JScript runtime error: 'topFrame' is undefined"
Code:
<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>");