Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

loading button 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
});
Source by www.jqueryscript.net #
 
PREVIOUS NEXT
Tagged: #loading #button #jquery
ADD COMMENT
Topic
Name
9+2 =