EarthWeb
Developer.com
Site
windows 2000
visual c++
java
visual basic
javascripts
recommend it
 
Book
thinking in java
 
Interact
forum
guest book
jobs
jokes
what's new

share code
 
Resource
add resource
modify resource
new resource
 

[Internet Jobs]
-----
Java by E-mail:

Get the weekly e-mail highlights on Java!
-----

-

Send the FORM response to another FRAME


Author: Real Gagnon
Author's WebSite: http://tactika.com/realhome/realhome.html

To send the result of a FORM request to another FRAME, you provide the FRAME name in the target property of the FORM. The FRAME name is the one defined by the NAME parameter in the FRAME declaration. The name must be unique.

[main HTML (a.html)]


 <HTML><HEAD></HEAD>
 <FRAMESET COLS="50%,*">
     <FRAME SRC="f1.html" NAME="f1" >
     <FRAME SRC="f2.html" NAME="f2">
 </FRAMESET>
 </HEAD>



[f1.html]


 <HTML><HEAD></HEAD><BODY>
 <FORM NAME="tFORM"
     METHOD=GET
      ACTION="http://www.abc.com/theCGI"
      onSubmit="document.tFORM.target = 'f2';return true;"
      >
 <INPUT TYPE=HIDDEN NAME="n" VALUE="Real Gagnon">
 <INPUT TYPE=SUBMIT VALUE="Output to f2 frame">
 </FORM></BODY>
 </HEAD>



Posted On: 10-Jul-1999

internet.commerce



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy