How do i assign an an id to a jquery dialog button. I tried the following but it\'s not working
buttons: { Ok: function() { id=\"xyz\", ...
Try this.
buttons: { 'MyButton': function() { //... configure the button's function }
And the id setter
$('button:contains(MyButton)').attr("id","xyz");