posted 19 years ago
Hi All:
I have an app, that would display a date field. if a page is first load up, it would display today's date as default, this is achieved by using the onLoad tag and set it like the following:
The user can choose to enter any date they wish as well, but the problem comes when the user goes to the next page, and hit the "back" button on their browser, now they are suppose to see whatever they have entered in the date field, but because of this
thing, every time, the user hit the "back" button, the default date will be displayed, which is not Desirable.
So my question is , how can i get the page to display the default DATE only ONCE when it first loads up, and when a user hits the "back" button on the browser, he will see whatever he has entered.
if anyone could possibly help me with it, i'd TRULY appreciate it.