Answers for "timeout in jquery"

28

settimeout jquery

setTimeout(function(){ alert("Hello"); }, 3000);
Posted by: Guest on September-13-2019
0

add set time out in jquery

$(".submit_wide").click(function () {
    $(this).val('Please wait..');
    $(this).attr('disabled', true);
    setTimeout(function() { 
        $(this).attr('disabled', false);
        $(this).val('Submit');
    }, 2000);
});
Posted by: Guest on March-06-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language