diff options
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index af58be40f..fd239b406 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1168,9 +1168,9 @@ $('#my-alert').bind('closed.bs.alert', function () { {% endhighlight %} <h4>Checkbox</h4> - <p>Add <code>data-toggle="buttons-checkbox"</code> for checkbox style toggling on btn-group.</p> + <p>Add <code>data-toggle="buttons"</code> to a group of checkboxes for checkbox style toggling on btn-group.</p> <div class="bs-example" style="padding-bottom: 24px;"> - <div class="btn-group" data-toggle="buttons-checkbox"> + <div class="btn-group" data-toggle="buttons"> <label class="btn btn-primary"> <input type="checkbox"> Option 1 </label> @@ -1183,7 +1183,7 @@ $('#my-alert').bind('closed.bs.alert', function () { </div> </div><!-- /example --> {% highlight html %} -<div class="btn-group" data-toggle="buttons-checkbox"> +<div class="btn-group" data-toggle="buttons"> <label class="btn btn-primary"> <input type="checkbox"> Option 1 </label> @@ -1197,9 +1197,9 @@ $('#my-alert').bind('closed.bs.alert', function () { {% endhighlight %} <h4>Radio</h4> - <p>Add <code>data-toggle="buttons-radio"</code> for radio style toggling on btn-group.</p> + <p>Add <code>data-toggle="buttons"</code> to a group of radio inputs for radio style toggling on btn-group.</p> <div class="bs-example" style="padding-bottom: 24px;"> - <div class="btn-group" data-toggle="buttons-radio"> + <div class="btn-group" data-toggle="buttons"> <label class="btn btn-primary"> <input type="radio" name="options" id="option1"> Option 1 </label> @@ -1212,7 +1212,7 @@ $('#my-alert').bind('closed.bs.alert', function () { </div> </div><!-- /example --> {% highlight html %} -<div class="btn-group" data-toggle="buttons-radio"> +<div class="btn-group" data-toggle="buttons"> <label class="btn btn-primary"> <input type="radio" name="options" id="option1"> Option 1 </label> |
