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