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