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!

After reload of frame page set hidden values

Status
Not open for further replies.

metsey

Programmer
Mar 2, 2001
49
US
I have 3 frames a,b,c

I am pushing a submit button on c that is reloading b so that it hits the server to activate some backend usp's and redisplay data.

The question is that there are values in hidden boxes in b that I need to preserve. How can I reload the hidden box values AFTER the reload?

 
when you press button in C you can grab hidden values and store them in javascript variables in frame C. when frame B body onload event fires, call script in frame C that populates hidden fields in B with the values stored in the corresponding variables
 
sjravee

I tried this and the reload wipes out the values. I put the functions in the proper order but it seems that the reload takes a bit of time.
 
"I tried this and the reload wipes out the values."
you probably try storing the valus after you reload the page.
sjravee gave you a good advice. here's my tip:
when you press teh button in C it activates a function. the function first stores all teh variables that you need in c, then reloads the page. --------------------------------------------------
Goals are dreams with deadlines
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top