Answers for "set time out jquery"

28

javascript settimeout

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
3

javascript settimeout

window.setTimeout(()=>{
  console.log('1 second passed!');
}, 1000);
Posted by: Guest on June-01-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language