0
我想让我的警报对齐,然后弹出我的输入字段。引导CSS将警报对齐输入字段
<div class="container">
<input type="text" id="barcode" autocomplete="off"/><div id = "alert_placeholder"></div>
</div>
我通过ajax调用呼叫警报。
function bulkConfirm(text) {
var response = '';
$.ajax({ type: "GET",
url: ("https://"+environment+"/nb/"+user+"/confirm/"+text),
headers: { 'Authorization': authorization},
async: true,
success : function(data)
{
$('#alert_placeholder').html("<div class='alert alert-success alert-dismissable fade in'><a href='#' class='close' data-dismiss='alert' aria-label='close'>×</a><span class='glyphicon glyphicon-ok' aria-hidden='true' style='padding-right:5px;'></span><strong>'Success!'</strong>"+data+"</div>");
skipUpdate = 1;
updateScans();
}
});
}
什么是现有'css'所有这些元素? – smilebomb