PDA

View Full Version : forcing the result of a form page into a frame


tpeck
03-29-2003, 07:42 AM
Hi. I have a form post, the results of which, I'd like displayed in a frame on a page of my choosing:

Can this be accomplished with javascript?

*****************************
<html>

<head>
</head>

<body>

<form method=post action="http://www.coolcart.com/cgi-bin/shop/coolcart.exe/demo/cart">
<input type="submit" Name="View" VALUE="View Cart">
<input type="submit" Name="Check Out" VALUE="Check Out">
</form>

</body>

</html>

*****************************

This form post will only display outside my frames.

Any ideas anyone? I have tried a few things and failed.

Thanks,

Terry

Mhtml
03-29-2003, 09:39 AM
In the <form> tag add the attribute : target="myFrame" ...

That will send it to that frame..