|
I did this:
In the <head> section I put this:
<script language="JavaScript" type="text/javascript">
function onclick_checktimer() {
if (timer < 10) {
return false;
}
else {
return true;
}
}
</script>
For the button section:
"Whatever your name was" ???? what name?
I just put by default 'submit' name. Still isn't working, in the status bar it says - 'error on the page'
----------------------------------
by the script source I understood that this script is not disabling button.
I want so that the button at first (when page loads) would be disabled (can't click at all)
And text on it changes, second by second (real-time) - 'submit (10)' - 'submit (9)' - 'submit (8)'............. When it reaches zero (just 'submit' text) the button should be enabled - you can click it now.
I saw this on someones website, it was something like protection against those who just skipped rules page, the buttons time delay was like 20 seconds so that everybody would read rules in 20 seconds and not just skip it because button was disabled for 20 seconds.
Thanks for help anyways.
Waiting for more replies...
|