2010-02-08 41 views

Trả lời

98

Sử dụng tùy chọn 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

Hoặc đơn giản là:

$('#mydiv').dialog({resizable: false}); 
Các vấn đề liên quan