bootstrap 3 のcheckbox-inline
2015-02-12 09:05
148 查看
<div class="form-group"> <p class="control-label"><b>趣味</b></p> <div class="checkbox-inline"> <input type="checkbox" value="soccer" name="interests" id="interest_soccer"> <label for="interest_soccer">サッカー</label> </div> <div class="checkbox-inline"> <input type="checkbox" value="basketball" name="interests" id="interest_basketball"> <label for="interest_basketball">バスケットボール</label> </div> <div class="checkbox-inline"> <input type="checkbox" value="baseball" name="interests" id="interest_baseball"> <label for="interest_baseball">野球</label> </div>
nameが同じ場合のみ、択一選択できる。
nameが同じ場合のみ、択一選択できる。
相关文章推荐
- Bootstrap之表格checkbox复选框全选
- bootstrapTable checkbox 选中 回显
- bootstrap-treeview 关于checkbox选择框不显示的问题
- bootstrap checkbox
- Bootstrap开源包中checkbox的全选和反选
- bootstrap-switch.js,让checkbox美起来
- [置顶] bootstrap-table固定表头,同时适配高度,兼容ie,checkbox,固定列解决方案(续)
- Bootstrap,解决checkbox的全选和反选失败的问题
- 基于bootstrap的checkbox和radio的选中操作
- bootstrap-table中的checkbox(复选框)被选中时触发的函数
- Bootstrap3 多选和单选框(checkbox)
- bootstrap3的list-unstyled和list-inline
- 基于bootstrap的单选(radio)或者多选(checkbox)的选择框组
- Bootstrap关于表单控件(Radio,CheckBox)
- bootstrap利用Font Awesome给选择添加checkbox图标
- 一款非常漂亮的bootstrap表单checkbox/radio样式推荐
- 优化checkbox和radio,类似Bootstrap中的iCheck
- 一款非常漂亮的bootstrap表单checkbox/radio样式推荐
- checkbox实现全选,全不选,反选。Bootstrap-用ICheck插件给CheckBox换新装!
- Bootstrap之表格checkbox复选框全选