add set time out in jquery

JavaScript
 setTimeout(function(){ alert("Hello"); }, 3000);
 $(".submit_wide").click(function () {
    $(this).val('Please wait..');
    $(this).attr('disabled', true);
    setTimeout(function() { 
        $(this).attr('disabled', false);
        $(this).val('Submit');
    }, 2000);
});
Source

Also in JavaScript: