代碼中的另一個DIV父-DIV對話框:如何插入一個DIV到jQuery的對話框
$("#parent-div").dialog({
title: 'Parent',
width: parseInt(100, 100),
height: parseInt(190, 10),
modal: true,
buttons: [
{
text: "Cancel",
click: function() {
$(this).dialog("close");
}
},
{
text: "Save",
click: function() {
$(this).dialog("close");
}
}
]
});
代碼兒童的div對話框:
<div id="child-div"></div>
如何插入孩子的div爲母公司的div在jquery對話框中按鈕保存和取消哪些已經添加?