D
Dave Brown
I'm trying to create a web page which has 2 frames, left and right.
In the left frame is a form to enter a number of data elements. In
the right frame, to start with, is some text with instructions. The
user is to enter data into the left frame and submit, in which case
calculations take place, and the results are then displayed in the
right frame. (The data is to be retained in the left frame in case
the user wants to make some changes to it, and resubmit.)
I've got the code written for the left frame. I've got code written to
do the calculations. Here's the question: when I submit the form, which
kicks off the CGI script to do the calculations, what do I do (I presume)
in the CGI script to get it to send the result to the frame on the right?
I've thought that I could probably have the CGI script create an html
page, and then put a "Display" button in the left frame to have it
"target" its output to the right frame. But I was wondering if I could
do something so that it would send it automatically without the Display
button.
Any hints to get me started in the right direction would be appreciated.
In the left frame is a form to enter a number of data elements. In
the right frame, to start with, is some text with instructions. The
user is to enter data into the left frame and submit, in which case
calculations take place, and the results are then displayed in the
right frame. (The data is to be retained in the left frame in case
the user wants to make some changes to it, and resubmit.)
I've got the code written for the left frame. I've got code written to
do the calculations. Here's the question: when I submit the form, which
kicks off the CGI script to do the calculations, what do I do (I presume)
in the CGI script to get it to send the result to the frame on the right?
I've thought that I could probably have the CGI script create an html
page, and then put a "Display" button in the left frame to have it
"target" its output to the right frame. But I was wondering if I could
do something so that it would send it automatically without the Display
button.
Any hints to get me started in the right direction would be appreciated.