<p>Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute <code>data-loading-text</code>.
</p>
Sets button state to loading - disables button and swaps text to loading text. Loading text should be defined on the button element using the data attribute `data-loading-text`.
<p><ahref="https://github.com/twbs/bootstrap/issues/793">Firefox persists form control states across page loads</a>. A workaround for this is to use <code>autocomplete="off"</code>.</p>
<p><ahref="https://github.com/twbs/bootstrap/issues/793">Firefox persists form control states across page loads</a>. A workaround for this is to use <code>autocomplete="off"</code>.</p>
</div>
</div>
<h4>$().button('reset')</h4>
#### $().button('reset')
<p>Resets button state - swaps text to original text.</p>
Resets button state - swaps text to original text.
#### $().button(string)
Resets button state - swaps text to any data defined text state.
<h4>$().button(string)</h4>
<p>Resets button state - swaps text to any data defined text state.</p>