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

ASP with frames

Status
Not open for further replies.

donniea21

MIS
Feb 16, 2001
75
US
I have a search page and I want to pass the parameters from it to a results page which then does the recordset asp code to get the results..The problem is that i want the results page to be the bottom frame of a frames page and have the column headers in a top frame so they are always visible. Is this possible?
 
Surely... just send the variable to the other frame with javascript.

If your page has two frames, and the top is your search, then the syntax would look something like this for the code in the top frame:

parent.top.frames[1].formName.elementName.value = theValue;

assuming you want to stick the variable directly into some hidden form variable on the main page. You can even submit the form on the main page from the top frame by issuing this command:

parent.top.frames[1].formName.submit();

To reload that page, and do your processing.

hope that helps! :)
paul
penny.gif
penny.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top