diff --git a/javascript.html b/javascript.html index 71bbf68231..2ebb503e2d 100644 --- a/javascript.html +++ b/javascript.html @@ -1433,14 +1433,14 @@ $('.btn').button()

You can enable auto toggling of a button by using the data-toggle attribute.

{% highlight html %} - + {% endhighlight %}

$().button('loading')

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.

{% highlight html %} - + {% endhighlight %}
@@ -1454,7 +1454,7 @@ $('.btn').button()

$().button(string)

Resets button state - swaps text to any data defined text state.

{% highlight html %} - +