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);