jquery
모달 대화 상자가 비동기입니까? 대화 상자가 동기 인 경우jquery 비동기 대화 상자
$('.triage').click(function() {
$("#dialog-modal").dialog({
position: [175, 175],
draggable: false,
height: 140,
modal: true
});
});
$.ajax(
{
type: "POST",
data: [],
dataType: "json",
contentType: "application/json; charset=utf-8",
url: "ReferralAutoTriage.asmx/RunTriageReferrals",
success: function(response) {
$("#dialog-modal").dialog('close')
},
failure: function(response) {
}
});
});
나는 그것을 비동기 확인해야합니다, 그래서 그것으로 수행하고 난 후에 나는 대화 상자를 표시하는 동안 아약스 호출을 처리하고 닫을 수 있습니다. 감사.
감사합니다.이 아이디어가 마음에 듭니다. – Victor