Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q422 How can I get the results of a form submission to be displayed in another frame?

You are here: irt.org | FAQ | JavaScript | Frame | Q422 [ previous next ]

In the form tag add a TARGET attribute that has a value which is the name of the other frame. For example:

<frameset cols="50%,*">
<frame src="apage.html" name="leftframe">
<frame src="bpage.html" name="rightframe">
</frameset>

In the leftframe you can have a form that targets the rightframe as:

<form action="cpage.html" target="rightframe">
<input type="submit">
</form>

©2018 Martin Webb