I have jQuery UI confirm dialog:
function fnComfirm(title, content) {
$(\"#dialog:ui-dialog\").dialog(\"destroy\");
$(\"#dialog-confirm p\").html(con
function fnComfirm(title, content) {
$("#dialog:ui-dialog").dialog("destroy");
$("#dialog-confirm p").html(content);
$("#dialog-confirm").dialog({
title: title,
resizable: false,
height: 200,
width: 486,
modal: true,
buttons: {
"OK": function() {
//do whatever you need here, i.e. form post
alert('ok!');
},
Cancel: function() {
$( this ).dialog("close");
return false;
}
}
});
}