I have a custom button defined in the jquery ui dialog box:
$("#myDlg").dialog({
modal: true,
buttons: {
'My Custom Link': function () {
alert('my custom message');
},
'Close': function () {
$(this).dialog('close');
}
}
});
I would like to show the button ‘My Custom Link’ as an html link rather than with the default button style. How can I do that? thanks.
The default jQuery options doesn’t support adding links.. however you can add anything you want to the wrapper.. See below,
DEMO