I want to add two buttons in the dialog's header part along with the 'x' icon, but I can only add the buttons at the bottom of it, even after searching for hours, I didn't get any solution of adding them at the top or changing their position from bottom to top. Please help me out.
$(function(){
var winsize = ["width=400,height=500"];
var newwin = function() {
window.open("http://www.google.com", "New Window", winsize);
$(this).dialog("close");
}
var hide = function() {}
var btns = {
buttons: {
"+": newwin,
"-": hide
}
};
$( "#dialog" ).dialog(btns);
});