title: Bootstrap 4: how to reset button loading
body: <p>i'm using this code for loading of buttons</p>
  <pre><code>&lt;script&gt;
          $('#load1').click(function() {
              $('#load1').html('&lt;span class=&quot;spinner-border spinner-border-sm mr-2&quot; role=&quot;status&quot; aria-hidden=&quot;true&quot;&gt;&lt;/span&gt;Loading...').attr('disabled', true);
          });
  &lt;/script&gt;
  </code></pre>
  <p>how to setTimeout in this code</p>