Default value: false
If set to true, the dialog will have modal behavior; other items on the page will be disabled, i.e., cannot be interacted with. Modal dialogs create an overlay below the dialog but above other page elements.
Syntax
$(function () {
// Get value
var returnsValue; // Type: boolean
returnsValue = $(".selector").wijdialog("option", "modal");
// Set value
var newValue; // Type: boolean
$(".selector").wijdialog("option", "modal", newValue);
});
See Also