openReturns: dialog

Opens the dialog.

Fires

opening, opened

Examples

sample

    
 <div id="dialog" style="display: none">Lorem ipsum dolor sit amet, consectetur adipiscing elit...</div>
 <button onclick="dialog.open()">Open Dialog</button>
 <script>
     var dialog = $('#dialog').dialog({
         autoOpen: false
     });
 </script>