I am trying to get this exact example working on my website:
http://getbootstrap.com/2.3.2/javascript.html#buttons
However, simply by including this HTML:
<button type="button" class="btn btn-primary" data-loading-text="Loading...">Loading state</button>
Does not work. I am running jQuery 1.7.x and have downloaded Bootstrap JS files.
To be specific: I want the button to move to change the “loading” of the text for a slight delay, and then return to the plain text. It seems that there is no good example available online from my Googling (most of them ask for a constant state change or switch), and the Bootstrap site itself is not in the documentation.
javascript jquery css twitter-bootstrap
Michael B Aug 25 2018-12-12T00: 00Z
source share