| Author |
how to get a updated webpage after submitting the form
|
Chandhrasekar Saravanan
Ranch Hand
Joined: Jun 16, 2002
Posts: 57
|
|
Hi, I am submitting a form, and on submit i am also loading a page in the top frame, but i noticed that the frame is not the current one. it is the previous version. i wanted to know how to get a recent version of the web page in the top frame. <script language="JavaScript"> var OutT="This is testing"; function changeFrame_a(){ parent.frame_a.document.location="http://ecelx00.eng.uab.edu/twiki/bin/view/Zaurus5000d/NewTestpage"; } </script> </head> <form name="main" action="/twiki/bin/save/Zaurus5000d/NewTestpage" method="post"> <input type="hidden" name="text" value="" /> <input type="submit" value=" Save Changes " CLICK="main.text.value=OutT;return changeFrame_a()" /> </form> whenever i submit the form , a new version of webpage is created , i want that version of webpage to load in my top frame. :roll:
|
 |
Chris Baron
Ranch Hand
Joined: Mar 21, 2003
Posts: 1028
|
|
Hi Chandhrasekar, i think it can be done without javascript: cb
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15003
|
|
THe page might be cached and is not being updated, that could be the problem after the form is submitted. Search thj forum for no cache and I am sure you can find solutions if this is the case. Eric
|
 |
 |
|
|
subject: how to get a updated webpage after submitting the form
|
|
|