Created
October 12, 2017 06:41
-
-
Save aayushdrolia/eb4e89ff9ba6152c75e884148aff86d4 to your computer and use it in GitHub Desktop.
Jquery Live Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(‘body').on('click','#id',function(){ | |
var btn = $('.class'); | |
jQuery.post().complete(function(){ | |
btn.prop('disabled', false); | |
}); | |
btn.prop('disabled', true); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment