jQuery UI Dialog — a practical guide to jQuery UI dialog with clear examples you can reuse in real projects.
jQuery Tutorial Series (86/101). Prefer one article? Read the complete jQuery tutorial.
Short description
Manage focus and Esc-to-close for accessibility.
dialog
$('#confirm').dialog({
modal: true,
buttons: {
OK: function () { $(this).dialog('close'); }
}
});