El código JS simple con 60 segundos cuenta con el recuadro al hacer clic en el botón (recomendado)
< xmlns = "http://www.w3.org/1999/xhtml"> <fead> <meta http-equiv = "content-type" content = "text/html; charset = utf-8"/> <title> Haga clic en el botón para mostrar un contado de 60 segundos (recomendado) </title> <script type = "text/jawrcript" src = "js/jQuery.js"> </script> </head> <body> <input type = "button" id = "btn" valor = "obtener código de verificación gratis" onClick = "setTime (this)"/> <script type = "text/javaScript"> var cuenta = 60; function setTime (val) {if (Countdown == 0) {val.RemoveAttribute ("discapacitado"); val.Value = "Obtener código de verificación gratis"; Countdown = 60; } else {val.SetAttribute ("Disaped", true); val.Value = "Resend (" + Countdown + ")"; cuenta atrás--; } setTimeOut (function () {setTime (val)}, 1000)} </script> </body> </html>El código JS simple anterior (recomendado) con una cuenta regresiva de 60 segundos aparece en el artículo anterior. Es todo el contenido que comparto con ustedes. Espero que pueda darle una referencia y espero que pueda apoyar más a Wulin.com.