【发布时间】:2013-09-14 21:19:39
【问题描述】:
如果我将background:#e7eef9; 添加到jQuery("#div_element").dialog,这将附加到整个对话框。我怎样才能将其仅附加到 buttons 区域?
function test(buttonEl)
{
jQuery("#div_element").dialog({
resizable: false,
height:200,
modal: true,
width: 300,
buttons: {
Cancel: function() {
jQuery( this ).dialog( "close" );
}
}
});
}
【问题讨论】:
标签: jquery css jquery-ui jquery-ui-dialog