I have a page with 2 frame in it I want a button on the top frame to change the src page in the bottom frame. I have looked at other threads and tried examples but cant get it to work can some 1 help me.
I keep getting an this error
error mainframe is not defined.
Mainframe being the name of the frame whos src i'm trying to change.
Here is my frameset code
<frameset rows="273,*" cols="*" framespacing="0" frameborder="NO" border="0" id="Frameset" name="Frameset" runat="server">
<frame src="Top.aspx" id="topFrame" name="topFrame" scrolling="NO" noresize runat="server"></frame>
<frame src="blank.aspx" id="mainFrame" name="mainFrame" runat="server"></frame>
</frameset>
<noframes>
and here is the code i'm trying to get to change the src
mainframe.document.location.href='problemdetails.aspx';
This is being developed in dreamweaver using asp.net if that makes any difference.
Hope someone can help
Thanx in advance
Jamie
I keep getting an this error
error mainframe is not defined.
Mainframe being the name of the frame whos src i'm trying to change.
Here is my frameset code
<frameset rows="273,*" cols="*" framespacing="0" frameborder="NO" border="0" id="Frameset" name="Frameset" runat="server">
<frame src="Top.aspx" id="topFrame" name="topFrame" scrolling="NO" noresize runat="server"></frame>
<frame src="blank.aspx" id="mainFrame" name="mainFrame" runat="server"></frame>
</frameset>
<noframes>
and here is the code i'm trying to get to change the src
mainframe.document.location.href='problemdetails.aspx';
This is being developed in dreamweaver using asp.net if that makes any difference.
Hope someone can help
Thanx in advance
Jamie