I'm having trouble with Bootstrap 3.3.7
<a href="#">
<button type="button" class="btn btn-danger" data-loading-text="Aguarde..." id="myButton">
Entrar
</button>
</a>
I click and it does not load, my script
looks like this:
<script>
$('#myButton').on('click', function () {
var $btn = $(this).button('loading')
// business logic...
$btn.button('reset')
})
</script>