Hi i need help with website where using time button.
Always after visit this page i must wait 20 seconds  for using this button 
Cai get help with disable this timer .when i try delete source in button 
code : *disabled*=  i can press button but after time change, disabled 
button renew and i can press.
Can get some help with script who change countdown var time to 1 ?  thanks 
for help

<script type="text/javascript">$(document).ready(function(){var 
countdown=20;var $vote=$('#vote');function 
doVote(){if(countdown>0){$vote.val('Please wait 
'+countdown).prop('disabled',true);window.setTimeout(function(){doVote();},1000);countdown--;}else{$vote.val('Confirm
 
Vote').prop('disabled',false);}}doVote();});</script>

button

<input class="btn btn-theme" type="submit" value="Please wait 20" id="vote" 
*disabled*="">

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/greasemonkey-users/298a0959-7eb4-4949-a84e-1fdfb7c9fdb3n%40googlegroups.com.

Reply via email to