只是想知道是否有人知道如何让按钮在Jquery模式窗口中堆叠?它看起来像这样:
$confirm.dialog({
resizable: false,
modal: true,
height: 140,
closeOnEscape: true,
show: "blind",
buttons: [
{
text: "Button 1",
click: function() { $(this).dialog("close"); },
class:'ok_button'
},
{
text: "Button 2",
click: function() { $(this).dialog("close"); },
class:'ok_button'
},
{
text: "Button 3",
click: function() { $(this).dialog("close"); },
class:'ok_button'
}
],
create: function(event, ui){
console.log($(event.target).prev().remove());
console.log(ui);
}
});
这会将按钮并排放置,任何线索?谢谢你的帮助!