I would like to have more than one button. I tried to copy code between brackets but doesnt work.Ideas?
buttons: { \"Close\": function() { $(this).dialog(\"clo
Create them using this format, 'button text': function() { } with a comma inbetween, like this:
'button text': function() { }
$("#mydialog").dialog({ buttons: { 'Confirm': function() { //do something $(this).dialog('close'); }, 'Cancel': function() { $(this).dialog('close'); } } });