this thread 기본적으로 동일한 문제가 있습니다. 하지만 그들의 해결책은 나를 위해 작동하지 않습니다. 여기 jQuery 대화 상자가 열리지 않습니다.
내 코드입니다 :$(document).ready(function() {
// create the loading window and set autoOpen to false
$("#loadingScreen").dialog({
autoOpen: false, // set this to false so we can manually open it
dialogClass: "loadingScreenWindow",
closeOnEscape: false,
draggable: false,
width: 460,
minHeight: 50,
modal: true,
buttons: {},
resizable: false,
open: function() {
// scrollbar fix for IE
$('body').css('overflow','hidden');
},
close: function() {
// reset overflow
$('body').css('overflow','auto');
}
}); // end of dialog
});
function waitingDialog(waiting) {
$("#loadingScreen").html(waiting.message && '' != waiting.message ? waiting.message : 'Bekleyin...');
$("#loadingScreen").dialog('option', 'title', waiting.title && '' != waiting.title ? waiting.title : 'Yükleniyor');
$("#loadingScreen").dialog('open');
}
감사합니다 ...
작품 벌금을 필요로하는 것에
$("#loadingScreen").dialog('open')
여러 번 전화 : HTTP : //jsfiddle.net/j08691/dawb9/1/ – j08691