Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法延迟 jQuery 上的按钮重置?
我试过这个:
$('.deposit-cur-btn').delay(3000).button('reset');
但它不起作用。
我不确定 .button('reset') 是做什么的,但你可以尝试这样的事情
setTimeout(function(){ $('.deposit-cur-btn').button('reset'); }, 3000);