我的bootstrap-datepicker有一个bootstrap输入组。问题是输入和input-group-addon
的位置。他们没有彼此分组。
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<div class="container">
<div class="col-md-12">
<div class="input-group date" data-provide="datepicker">
<input type="text" class="form-control">
<div class="input-group-addon">
<span class="glyphicon glyphicon-th"></span>
</div>
</div>
<div class="checkbox">
<label>
<input type="checkbox" id="checkMe" onclick="disableMyText()">Check me out
</label>
</div>
</div>
</div>
&#13;