如果我添加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" );
}
}
});
}