Skip to content

Instantly share code, notes, and snippets.

@dodozhang21
dodozhang21 / gist:852146
Created March 3, 2011 01:32
deleteConfirmation - jQuery UI modal window init
// create the jQuery modal window and set autoOpen to false
$("#jQueryDeleteConfirmationModalWindow").dialog({
title: "Delete Confirmation",
autoOpen: false, // set this to false so we can manually open it
dialogClass: "jQueryDeleteConfirmationModalWindow",
closeOnEscape: false,
draggable: false,
width: 460,
height: 260,
modal: true,