JavaScript Forum JS Made Easy: Free JavaScripts Tutorials Example Code
About This Product
FontsMadeEasy.com
 
The Business Internet
Find it on This page:
 
| Over 5000 Free Fonts | Tutorials | Javascript Forum | Other Javascript Resources | Cheat Sheet

     
Jsmadeeasy Forums Home   Search   Login   Register   Member List  
JS Made Easy  > JavaScript programming  > help with refresh  
 
Display using:  
Previous Thread :: Next Thread 
 Author Thread: help with refresh
kozak98 is not online. Last active: 7/28/2004 3:52:08 PM kozak98
Top 25 Poster
Joined: 28 Jul 2004
Total Posts: 11
 
help with refresh
Posted: 26 Apr 2002 08:33 AM
Hi.
I have a page where the user enters and selects some options and then clicks submit. But if after clicking submit the user clicks on the back button, all the options stay the same as the user selected them.
I don't want this to happen...so what i would like is some code that would refresh the page that it is going back to, as soon as the back button is pressed.

thanks

deenesh is not online. Last active: 7/28/2004 3:52:08 PM deenesh
Top 50 Poster
Joined: 28 Jul 2004
Total Posts: 4
 
Re:
Posted: 29 Apr 2002 10:40 PM
on body load of the page with the forms, call a clear fields method, such that each time the page is called, all hte fields are cleared.

kozak98 is not online. Last active: 7/28/2004 3:52:08 PM kozak98
Top 25 Poster
Joined: 28 Jul 2004
Total Posts: 11
 
Re:
Posted: 30 Apr 2002 07:20 AM
i see what you mean, by using the clear fields method.... but, i am kinda new at this stuff and i don't know that code to do that.
so can someone please tell me the code for the clear fields method.

thanks

Previous Thread :: Next Thread 
Page 1 of 1
 
Jsmadeeasy.com  > JS Made Easy  > JavaScript programming  > help with refresh