Is there any attribute in dialog of jquery-ui which can provide behavior like title property of div.(Showing title name on hover)?
Below is generated html of OK button of confirm dialog box.I want ‘title’ like property of div to be applied for ‘OK’ and ‘Cancel’ button
<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>
EDIT:
Here are some property whihc I used for dialog
dialog({
height:110,
widht:460,
title:"This is dialog Title",
modal: true,
buttons: {
"Ok": function() {
$( this ).dialog( 'destroy');
},
Cancel: function() {
$( this ).dialog( 'destroy');
}
},

I don’t think there is any option to apply title attribute for buttons of jquery dialog.Here is the solution I am using as of now.