E
EviL KerneL
Sorry, I forgot to include the code I was using on my previous message
by the same subject:
Hi -
I have an onClick event in place that switches an button's label to
please wait upon clicking. Problem is, the page on which I am
implementing this event is also running validion to make sure certain
fields are filled.
The problem I am running into is that when the button label's changes
to "Please Wait..." and the page does not change because the user
forgot to fill out one of the fields, the button stays that way and it
does not go back to its original label ("Next"). Because of this, the
user is getting confused and does not know what to press since there
is no Next button anymore.
Is there a way to time this event so that it goes back to its original
label after say, 3 seconds? I was trying to use onBlur but that would
only change the button if the user clicks somewhere else on the page
so it would not serve the purpose.
Here is the code I am using:
<input class="submit-button" type="submit" name="next" value="Next"
onclick="this.form.PdcButtonPressed.value='next';
this.value='Please wait...';">
any help would be greatly appreciated.
Thanks!
by the same subject:
Hi -
I have an onClick event in place that switches an button's label to
please wait upon clicking. Problem is, the page on which I am
implementing this event is also running validion to make sure certain
fields are filled.
The problem I am running into is that when the button label's changes
to "Please Wait..." and the page does not change because the user
forgot to fill out one of the fields, the button stays that way and it
does not go back to its original label ("Next"). Because of this, the
user is getting confused and does not know what to press since there
is no Next button anymore.
Is there a way to time this event so that it goes back to its original
label after say, 3 seconds? I was trying to use onBlur but that would
only change the button if the user clicks somewhere else on the page
so it would not serve the purpose.
Here is the code I am using:
<input class="submit-button" type="submit" name="next" value="Next"
onclick="this.form.PdcButtonPressed.value='next';
this.value='Please wait...';">
any help would be greatly appreciated.
Thanks!