<script>
$(function(){
$(".btn").click(function(){
$("#themodal").modal();
});
});
</script>
$(function(){
$(".btn").click(function(){
$("#themodal").modal();
});
});
</script>
2015-11-08
控件下方添加如下标签实现错误提示
<span class="help-block">提示内容</span>
<span class="help-block">提示内容</span>
2015-11-07
在form-group容器中添加添加状态即可改变
has-success 成功状态
has-warning 警告状态
has-error 错误状态
<span class="glyphicon glyphicon-remove form-control-feedback"></span> 中其中添加着计划可以在容易中添加回馈消息
glyphicon-remove 错误状态
gluphicon-warning-sign 警告状态
gluphicon-fluphicon-ok 成功状态
has-success 成功状态
has-warning 警告状态
has-error 错误状态
<span class="glyphicon glyphicon-remove form-control-feedback"></span> 中其中添加着计划可以在容易中添加回馈消息
glyphicon-remove 错误状态
gluphicon-warning-sign 警告状态
gluphicon-fluphicon-ok 成功状态
2015-11-07
禁用域<fieldset disabled></fieldset>
在禁用域中<legend>标签无法禁用!
在表单控件中添加 disabled就可以禁用该控件
在禁用域中<legend>标签无法禁用!
在表单控件中添加 disabled就可以禁用该控件
2015-11-07
输入框大小 做大的是col-xs-4,稍小一点是col-xs-5在小一点是col-xs-6
控件的class中添加:input-lg控件会变大,input-sm控件会变小
控件的class中添加:input-lg控件会变大,input-sm控件会变小
2015-11-07
<form role="form">
<div class="form-group"><labe class="radio-inline">
<input type="radio" name="sex">中性
</labe>
<label class="checkbox-inline">
<input type="checkbox" name=”yiyi“>游戏
</label>
</div>
<div class="form-group"><labe class="radio-inline">
<input type="radio" name="sex">中性
</labe>
<label class="checkbox-inline">
<input type="checkbox" name=”yiyi“>游戏
</label>
</div>
2015-11-07
如果需要上下对齐,必须在 radio标签和checkbox外层添加 div class属性设置为 radio和checkbox 然后标签还需要添加label标签对屏幕器更好的识别,制作一个完美的表单
2015-11-07