2010-02-08 11 views

risposta

98

Utilizzare l'opzione resizable

var elem = $("#mydiv"); 
elem.dialog({ 
    modal: true, 
    resizable: false, 
    title: 'title', 
    buttons: { 
     Ok: function() { 
      $(this).dialog('close'); 
     } //end function for Ok button 
    }//end buttons 
});  // end dialog 
elem.dialog('open'); 
6

O semplicemente:

$('#mydiv').dialog({resizable: false}); 
Problemi correlati