0
사용자가 대화 상자를 닫으려고 버튼을 눌렀을 때 알림을 받고 싶습니다. 다음을 시도했지만 작동하지 않습니다.대화 상자의 알림
<div id="TestDialog"/>
$("#TestDialog").dialog({
autoOpen: true,
resizable: true,
modal: true,
position: ['middle', 'middle'],
savePushed: function() {
alert('save pushed');
},
closePushed: function() {
alert('save pushed');
},
buttons: {
"Save": function() {
// alert('save');
savePushed();
$(this).dialog("close");
},
Close: function() {
//alert('close');
closePushed();
$(this).dialog("close");
}
}
});
다른 아이디어?