appendto/juiceui — Issue #8: Failed to add "Ok", "Cancel" button at Juice Dialog 
Author: khorshed
Created: 2012-03-06 03:37:23+00:00
State: open

I have tried to to put a Ok button on Juice Dialog using the code below

This is the default dialog which is useful for displaying information. The dialog
window can be moved, resized and closed with the 'x' icon.

Open Dialog

I also used the different format like etc. But failed. It works fine when I used the following Jquery script

$(document).ready(function () {
// Respond to the click
$(".open-dialog").click(function (e) {
e.preventDefault();
// Open the dialog
$(".basic-dialog").dialog({
// buttons: { "Ok": function () { $(this).dialog("close"); } }
});

});
});

please help me how can I use Dialog properly.