diff options
author | fat <jacobthornton@gmail.com> | 2013-07-18 11:59:31 +0400 |
---|---|---|
committer | fat <jacobthornton@gmail.com> | 2013-07-18 11:59:31 +0400 |
commit | 37e899d76630d29565c0c6ff67885eee01777e1a (patch) | |
tree | 12f6e9985723e6b167d5ed01b8693ffd3b5079f9 /docs/javascript.html | |
parent | 2a4a0f70ef6dde303d92ee2bcc082d9e9aad181b (diff) |
get button js working with actual form elements p cooll
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 af58be40f1..fd239b4065 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> |