mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-29 21:52:22 +01:00
add note about firefox persisting disabled state on buttons
This commit is contained in:
parent
aa0c4acd80
commit
6e8a3bba32
@ -811,6 +811,9 @@ $('#my-alert').bind('closed', function () {
|
|||||||
<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 <code>data-loading-text</code>.
|
||||||
</p>
|
</p>
|
||||||
<pre class="prettyprint linenums"><button class="btn" data-loading-text="loading stuff..." >...</button></pre>
|
<pre class="prettyprint linenums"><button class="btn" data-loading-text="loading stuff..." >...</button></pre>
|
||||||
|
<p>
|
||||||
|
<span class="label notice">Notice</span> Firefox persists the disabled state across page loads. A workaround for this is to use: <code>autocomplete="off"</code>. More info can be found <a href="https://github.com/twitter/bootstrap/issues/793">here</a>.
|
||||||
|
</p>
|
||||||
<h4>$().button('reset')</h4>
|
<h4>$().button('reset')</h4>
|
||||||
<p>Resets button state - swaps text to original text.</p>
|
<p>Resets button state - swaps text to original text.</p>
|
||||||
<h4>$().button(string)</h4>
|
<h4>$().button(string)</h4>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user