2012. 3. 26. 09:05
function aa(seq) {
$("#layerPopup").empty();
$.ajax({
type: "POST",
url: "/list.do",
data: {
transferSeq: seq,
flag : "D"
},
dataType: "html",
success: function (html, textStatus) {
if("success" == textStatus) {
$("#layerPopup").html(html);
$("#layerPopup").dialog({
resizable: false,
height: 400,
width: 850,
modal: true,
title: "목록 리스트",
buttons: {
/* "선택": function() {
organizationTree.doRegistACL(userAuthorize);
}, */
"닫기": function() {
$(this).dialog("close");
}
},
close: function(event, ui) {
$("#layerPopup").remove();
var innerHtml = "";
innerHtml+= " <div id='layerPopup' style='display:none; cursor:default;' align='left'>";
innerHtml+= " </div>";
$(".layerPopup").append(innerHtml);
}
});
}
}
});
}
jquery ui dialog 모든 창 닫기
$(".ui-dialog-content").dialog("close");
jquery ui datepicker 창을 아래쪽으로만 뜨게하기
$.extend($.datepicker,{_checkOffset:function(inst,offset,isFixed){return offset}});
'Programming > JSP' 카테고리의 다른 글
키보드 아스키코드값 (1) | 2012.03.27 |
---|---|
jqeury 플러그인 홈페이지 (0) | 2012.03.26 |
form 데이터 유효성 검사 (0) | 2012.03.16 |
제목을 뭐라 해야합니까 이건... (0) | 2012.03.14 |
iFrame 정보를 자바스크립트에서 가져다 쓰기 (0) | 2012.03.12 |