【发布时间】:2011-12-09 15:34:32
【问题描述】:
我正在尝试将名称(不是显示的文本)添加到底部面板上的按钮,但找不到方法。
这就是我目前所拥有的......
$("#dialog-import-from-existing").dialog({
title: "Import From Existing",
autoOpen: false,
modal: true,
draggable: false,
resizable: false,
width: 500,
height: 525,
buttons: {
**name : "SubmitButton",**
"Import": function() {
$('#CreateForm').submit();
$(this).dialog('close');
},
"Cancel": function() {
//Need to added the js files to Driver studio.
//$("models-to-add-container").effect("explode");
$(this).dialog('close');
}
}
});
我正在尝试使用名称为“SubmitButton”的此按钮。
提前致谢。
【问题讨论】: