Ladeknopf jQuery
view source
01
$('.button-class').click(function () {
02
03
var btn = $(this);
04
05
$(btn).buttonLoader('start');
06
07
setTimeout(function () {
08
09
$(btn).buttonLoader('stop');
10
11
}, 5000);
12
13
});
BeAcoder