well if it's 2 separate forms you could do it wit hJavascript like this:
Index (framed) File:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Untitled Page</title>
</head>
<frameset cols="*,*">
<frame id="Frame1" name="Frame1" src="frame1.html" noresize>
<frame id="Frame2" name="Frame2" src="frame2.html" noresize>
<noframes>
<body bgcolor="#ffffff">
<p></p>
</body>
</noframes>
</frameset>
</html>
Frame 1:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Untitled Page</title>
</head>
<body bgcolor="#ffffff">
<form id="FormName" action="http://www.siriusad.com" method="get" name="FormName" onsubmit="top.frames['Frame2'].document.FormName.submit();">
<input type="submit" name="submitButtonName">
</form>
<p></p>
</body>
</html>
Frame 2:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Untitled Page</title>
</head>
<body bgcolor="#ffffff">
<form id="FormName" action="http://www.jerseymikes.com" method="get" name="FormName" onsubmit="top.frames['Frame1'].document.FormName.submit();">
<input type="submit" name="submitButtonName">
</form>
<p></p>
</body>
</html>
Or something Like that... I assume the forms are going to 2 different scripts? Why not just combine the 2 forms into 2 and make the script handle both?
Last edited by funkdaddu; 04-18-2005 at 03:01 PM..
|