0
jquery.ajax가 사용자를 괴롭히지 않도록 jquery.ajax가 가격을 계산하는 동안 "Please wait, calculated"라는 모달 대화 상자가 필요합니다. ajaxStart() 및 ajaxStop() 함수를 시도했지만 제대로 작동하지 않습니다. 제발 내가 잘못한 것에 대해 조언 해 줄 수 있습니까? 여기 jquery ajax로 jquery UI 대화 상자 사용하기
코드입니다 :var form = document.forms["orderDefinition"];
form.elements["formChangeRequest"].value = "true";
$.ajax({
type: "POST",
url: "ajax/possibleValues.html",
data: $("form#orderDefinition").serialize(),
success: function(response){
$('#usercontent .sleeve .toprow').html(response);
applyValidation();
}
});
$("#waitingMsg").ajaxStart(function(){
$(this).dialog({modal: true});
}).ajaxStop(function(){
$("#waitingMsg").hide();
});
많은 감사