jQuery Modal Options

by ritcheyer

JavaScript

$(function(){
    
// bind to the #mvReg 
$("#mvReg").dialog({}).bind("close", function(e) { // do something here });
    
// use a callback function in plugin to isolate scope
    $("#mvReg").dialog{
        onClose: function(e){
            // do something
        }
    });
});