[RESOLVED] Frame Redirect?
Hi,
How would I redirect the frame src of a frame set?
Say I have the first frame used normally:
Code:
<!--Puts the order form in the top window-->
<frameset rows="*,*"" frameborder="NO" border="0" framespacing="0">
<frame src="../html/order_form.html" name="topFrame"/>
</frameset>
<noframes><body>
</body></noframes>
Now what I want to do is use the code I posted here to open another for the second frame via a button in the first frame.
I have tried putting:
Code:
function help(objFrame){
frame src="../html/help.htm" name="main"
var sFrame = objFrame.Main.framesrc.value}
sFrame = "frame src="../html/order_form.html"}
In the ".js" file but it made the form quit working!
Thanks,
Aaron