Auto refreshing a specific webpage after a form submit action
Does anyone know what I could do with this code to make it refresh a specific page on submit as well as doing the current action.
<FORM action="index.php?step=2&Count=<? $submitCount = $TotalCount + 50; print($submitCount); ?>" method=post><B>In Remembrance of:</B><BR><INPUT name=nume><BR> <INPUT type=submit value="Light a Candle" name=submit></CENTER></FORM>
Thank you
Antony
Greg K posted this at 20:40 — 20th May 2009.
He has: 2,145 posts
Joined: Nov 2003
Are you meaning to have it refresh a page in another window/tab/frame, or have ti go to different page than it is now (ie. the form submits to itself).
-Greg
tonyjms2005 posted this at 16:14 — 21st May 2009.
They have: 2 posts
Joined: May 2009
The code is contained within an iframe and I would like to refresh the page it is ebeded into.
Thanks
Antony
webwiz posted this at 17:50 — 21st May 2009.
He has: 629 posts
Joined: May 2007
Tricky! The only way I can think of is to use JavaScript, and set up communication between the iFrame and its containing document. Here's some information on how to do that at Dynamic Web Coding. Hope it helps.
Cordially, David
--
delete from internet where user_agent="MSIE" and version < 8;
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.