Schleipp [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi everybody,
I have created a webpage with two frames. One of this frames is a form
in which the user can change some data, which you can see in the other
frame. I want the latter frame being updated as
I just needed a similar thing to occur in my app!
Just reload the page using the header function:
Once submit has been hit in one frame, pass a hidden value from Frame1
to frame2:
input type=\hidden\ name=\refresh\
Then detect for it in the 2nd frame and refresh the page using the
header()
Russ Michell [EMAIL PROTECTED] wrote in message
news:SIMEON.10108141609.F@k1c. anglia.ac.uk...
I just needed a similar thing to occur in my app!
Just reload the page using the header function:
Once submit has been hit in one frame, pass a hidden value from Frame1
to frame2:
input
I don't see what this gains you.
Well you asked if there was a way to refresh your target frame once a
submission was made from an origin frame. This method would do that.
Then again, why does the second frame not already display the results
of the submission?? As it get's called from the
Russ Michell [EMAIL PROTECTED] wrote in message
news:SIMEON.10108141754.G@k1c. anglia.ac.uk...
I don't see what this gains you.
Well you asked if there was a way to refresh your target frame once a
submission was made from an origin frame. This method would do that.
The question was
Actually... it's not a bad idea to refresh a page once it's been
submitted, even if that frame could be displaying the results with only
one hit. We do it around here on quite a few things simply because it
prevents accidents from happening on the user's end.
If you redirect back to $PHP_SELF