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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Variables between Frames

Status
Not open for further replies.

jcale4

Programmer
Aug 31, 2004
63
US
Hello!

I'm building an ASP "reporting" application in which users simply fill out an input form, selecting the columns and data they want to view, hit submit and see query results below. I would like to use <frameset> to separate the input form and the "data view". When i post the data when the user hits submit, how do i pass the variable collection to the "data view" page?

Thanks!
 
You can simply put a target into the form tag with the name of the data view frame.

Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
Tracy,

Do you have an example of this? Just trying to visualize how this will work.

Thanks!
 
Same as an anchor link...

Code:
<form method="post" action="somescript.asp" target="MyOtherFrame" id="myform" name="myform">
etc...

A smile is worth a thousand kind words. So smile, it's easy! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top