jQueryUI dialog won't go modal

Posted by Theopile on Stack Overflow See other posts from Stack Overflow or by Theopile
Published on 2010-06-15T00:56:35Z Indexed on 2010/06/15 1:02 UTC
Read the original article Hit count: 215

Filed under:
|
|

I need a modal dialog to open ontop of an tinyMCE editor and other jQuerified items. I followed the jquery site but its not modal, I can still change and access the rest of the page.

$('#sureDelete').dialog({
                    modal: true,
                    buttons: {
                        "Yes": function(){
                            $('li#'+$id).remove();
                        },
                        "No":function(){
                        }
                    },
                    draggable: false
        });
<div id="dialogs">

<div id="sureDelete">Are you sure you want to delete this page?</div> </div>

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-ui