I\'m trying to get this exact example working on my website:
http://getbootstrap.com/2.3.2/javascript.html#buttons
However, simply including this HTML:
Or just add this so it picks up the Twitter Bootstrap attribute.
$('button[data-loading-text]').click(function () { $(this).button('loading'); });