bootstrap里popover 弹出框里想要放上button,何解?
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
<div class="row">
<div class="col-xs-12 text-center">
<button id="mypopover" type="button" class="btn btn-default btn-sm"
data-container="body" data-placement="bottom" >
新建部门
</button>
<div id="popover-head" class="hide">部门名称</div>
<div id="popover-content" class="hide">
<div class="form-group">
<input type="text" class="form-control" />
</div>
<div class="form-group" align="center">
<button type="button" class="btn btn-success btn-sm" style="width: 100px;"
data-container = "body" name="popoverBtn">
确定
</button>
<button type="button" class="btn btn-default btn-sm" style="width: 100px;"
name="popoverBtn">
取消
</button>
</div>
</div>
</div>
</div>
效果如上图所示,希望能帮到你~