|
thank you. I will give this a try. I did find an acceptable work around, but I like this method as well. ----- Original Message ----- From: "Jeffrey Lee" <jeff@xxxxxxxxxxx> To: "Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx> Sent: Wednesday, January 25, 2006 10:51 PM Subject: Re: [WEB400] Prevent Browser From Going Back On the page that you do not want them to go back to you could put an onload event that would set the value of all of the fields. < body onLoad="return empty()" > <!-- <!-- function empty() { document.CCForm.CCNumber.value="" document.CCForm.CCExDate.value="" return true } //--> // --> On 1/25/06 6:26 PM, "Joe Giusto II" <midrange@xxxxxxxxxxxx> wrote: > thanks for that info. perhaps I should not have said Credit Card. Just > happens > that is the page I am dealing with at this time. the idea is not to allow the > user to go back to a previous page (not all pages, just certain ones) after a > certain point. > I have noticed when I hit the refresh button on the page, I get a message > about > resending the information, which brings the screen back with none of the form > values filled in. with this in mind, is there a script that will force the > refresh when coming back to the page? >
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.