Skip to content

Instantly share code, notes, and snippets.

@krams915
Created June 19, 2012 08:23
function dialog(title, text) {
$('#msgbox').text(text);
$('#msgbox').dialog(
{ title: title,
modal: true,
buttons: {"Ok": function() {
$(this).dialog("close");}
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment