twitter/bootstrap — Issue #730: can't add attribute disabled after $('.btn').button('complete')
Author: glebovsky
Created: 2011-11-30 08:13:39+00:00
State: open

Can't add attribute disabled="disabled" to after this $('.btn').button('complete')

Code:
$('.but').button('loading');
setTimeout(function () {
$('.but').button('complete');
$('.but').attr('disabled','disabled');
}, 1500);