下のパネルのボタンに名前(図示のテキストではありません)を追加しようとしていますが、その方法を見つけることができません。JQueryダイアログ下のボタンに名前を追加する
これは私がこれまでに...
$("#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');
}
}
});
は私が名前を「サブミット」で、このボタンを持ってしようとしているものです。
ありがとうございます。