can get some hlp ?

已查看 46 次
跳至第一个未读帖子

Tvoi Batya

未读,
2020年10月9日 10:09:082020/10/9
收件人 greasemonkey-users
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="">
回复全部
回复作者
转发
0 个新帖子