draggable : booleanDefault: true

If set to true, the dialog will be draggable by the title bar.

Examples

True

    
 <div id="dialog">Lorem ipsum dolor sit amet, consectetur adipiscing elit...</div>
 <script>
     $("#dialog").dialog({
         draggable: true
     });
 </script>

  

False

    
 <div id="dialog">Lorem ipsum dolor sit amet, consectetur adipiscing elit...</div>
 <script>
     $("#dialog").dialog({
         draggable: false
     });
 </script>