Re: clearing form fields after hitting back button
by "Adrian Murphy" <adrian.murphy(at)eudos.com>
|
Date: |
Thu, 15 Mar 2001 10:59:25 -0000 |
To: |
"Warmfeelings.com" <warmfeelingscom(at)yahoo.com>, <hwg-languages(at)hwg.org> |
References: |
yahoo |
|
todo: View
Thread,
Original
|
|
how about,on your form page:
<form action="" onSubmit="javascrit:history.go(0);">
i think this works.
----- Original Message -----
From: Warmfeelings.com <warmfeelingscom(at)yahoo.com>
To: <hwg-languages(at)hwg.org>
Sent: Thursday, March 15, 2001 5:35 AM
Subject: clearing form fields after hitting back button
> Hello friends,
>
> I have a javascript question with regard to forms, if
> anyone can give me a solution or javascript link I
> will be greatly indebted to you!
>
> After filling out this tell a friend form:
>
> http://warmfeeling.userworld.com/html/demopage.html#tellfriend
>
> The user is sent to:
>
> http://warmfeeling.userworld.com/html/exitpage.html
>
> But when the user either hits the back button or uses
> the button I supplied, all the form fields are still
> filled out (names and emails)....
>
> is there a script or way I can make the form fields
> blank/clear out upon hitting the back button??
>
> Thanks for any tips at all!!
>
> Regards,
> Tom
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices.
> http://auctions.yahoo.com/
>
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA