Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form submitting to both pages of a frames page

Status
Not open for further replies.

lin45

Technical User
Dec 19, 2002
14
GB
Presently I have a non framed page which contains hidden fields with variables from a database and I would like to submit this to a frames page (2 frames) the first frame to contain the hidden variables and a button requesting further information which when pressed records the info to a database and produces an email back to customer advising of the information request.

The 2nd frame will read the path of a pdf file from the database and display the pdf file.

Can anyone help me with the javascript for the form to be submitted to the frameset, the first frame to be able to read these variables, and the second frame to be the name of the variable (pdf file) being read from the database.

Hope I have explained this that you can understand and thanks in advance.
 
Send your variable like this newpage.htm?var1,var2,etc..

Insert this code in newpage.htm:
location.search.substr(1)== "1"
to extract your variables
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top