I have created one dialog box in jquery. and there is one button called \'save\'. I need to add one id to this save buttton. How can I achive in this in jquery. This is my c
$(function() { $( "#dialog" ).dialog({ height: 400, width: 650, modal: true, buttons: { save: { text: "Save", id: "my-button-id", click: function(){ dialog.dialog( "close" ); } } } ... }); });