当前位置:网站首页>Get verification code
Get verification code
2022-06-13 04:23:00 【Twinkle, twinkle, twinkle, twinkle, twinkle, twinkle, twinkle, 】
// Verification Code
var counts = 60;
function settime(val) {
console.log('val:',val)
if(counts == 0) {
val.style.color = '#F5B089';
val.innerHTML = " Recapture ";
counts = 60;
return false;
} else {
val.style.color = '#999';
val.innerHTML = `${counts} Reacquire after `
counts--;
}
setTimeout(function() {
settime(val);
}, 1000);
}
// Get verification code
function getValidCode(){
const validCodeBtn = document.getElementById("validCodeBtn")
if(validCodeBtn.innerHTML == ' Get verification code ' || validCodeBtn.innerHTML == ' Recapture ' ){
this.settime(validCodeBtn)
}
}边栏推荐
- Configuration and practice of shardingsphere JDBC sub database separation of read and write
- [test development] advanced part - Classification of various test technologies
- Use ASE encryption and decryption cache encapsulation in Vue project
- 一款开源的Markdown转富文本编辑器的实现原理剖析
- SCM: introduction to Modbus communication protocol
- Interpretation of mobile phone private charging protocol
- Lenovo notebook computer uses the insert key. When the mouse becomes a small square, how to solve it
- Promise combined with await
- [test development] basic concepts related to testing
- 1-72 convert string to decimal integer
猜你喜欢

R: Employee turnover forecast practice

Real time question answering of single chip microcomputer / embedded system
![[notes] summarize common horizontal and vertical centering methods](/img/0a/9625e7e459be69a2a8d4e016a20f4d.jpg)
[notes] summarize common horizontal and vertical centering methods

重读经典:《End-to-End Object Detection with Transformers》

MCU: RS485 communication and Modbus Protocol

Reread the classic: end to end object detection with transformers

Explanation of line segment tree

Interpretation of mobile phone private charging protocol

Interpretation and implementation of proxy mode

120. 三角形最小路径和-动态规划
随机推荐
十亿数据量 判断元素是否存在
1-72 convert string to decimal integer
基于DE2-115平台的VGA显示
Uni app dynamic add style dynamic bind background image invalid
[sword finger offer] interview question 24 Reverse linked list
Common array methods in JS (map, filter, foreach, reduce)
Redis data persistence
剑指 Offer 56 - I. 数组中数字出现的次数
一款開源的Markdown轉富文本編輯器的實現原理剖析
JSTL -- JSP standard tag library
干预分析 + 伪回归
February 25, 2021 (Archaeology 12 year Landbridge provincial competition)
Lightweight digital mall system based on PHP
MSG messages in ROS
建模雜談系列143 數據處理、分析與决策系統開發的梳理
Tree array explanation
R: Employee turnover forecast practice
Unity Shader 学习 004-Shader 调试 平台差异性 第三方调试工具
十億數據量 判斷元素是否存在
[kubernetes series] pod chapter actual operation