jquery-uiのダイアログにdivのtitleプロパティのような動作を提供できる属性はありますか(ホバーにタイトル名を表示)?
以下は確認ダイアログボックスのOKボタンのhtmlを生成します。divのプロパティのような「タイトル」を「OK」ボタンと「キャンセル」ボタンに適用したいです。
<button type="button" class="ui-button
ui-widget
ui-state-default
ui-corner-all
ui-button-text-only" role="button" aria-disabled="false">
<span class="ui-button-text">Ok</span> </button>
編集: これが私がダイアログに使用したいくつかのプロパティです
dialog({
height:110,
widht:460,
title:"This is dialog Title",
modal: true,
buttons: {
"Ok": function() {
$( this ).dialog( 'destroy');
},
Cancel: function() {
$( this ).dialog( 'destroy');
}
},