JQuery options do not support adding links by default. However, you can add whatever you want to the wrapper. See below
$(function() {
$("#myDlg").dialog({
modal: true,
buttons: {
'Close': function() {
$(this).dialog('close');
}
}
})
.parent()
.find('.ui-dialog-buttonset')
.prepend('<a href="javascript:void(0);" id="myCustomLink">My Custom Link</a>');
$('#myCustomLink').click(function () {
alert('my custom message');
});
});
Demo
source
share