axure 60 seconds countdown

 Execute the js code in the href attribute of the a tag to implement a 60-second countdown

javascript:eval("
var counter = 60;
var interval = setInterval(function() {
    counter--;
    if (counter <= 0) {
        clearInterval(interval);
    }
    $('#u3_text>p>span').html(counter + '秒后发送');
}, 1000);
")

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324983088&siteId=291194637
Recommended