Hi everybody, can someone please give an effective example for preventing the closing of a dialog?
Sadly, the official jQuery UI documentation gives only the global syntax for the beforeClose event. I tried with this code : $('#preload').dialog({ autoOpen: false, width: 300, bgiframe:true, modal:true, resizable:false, closeOnEscape:false, draggable:false, title:'Chargement en cours ...', beforeClose :function(event,ui){ return false;} }); but it didn't work ... :( please help ... -- You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.