jquery - jQueryUI dialog won't go modal -
I need a modal dialogue to open on top of a tiny MEEE editor and other jQuerified items. I followed the jquery site but it is not modal, I can still change and use the rest page.
$ ('# sureDelete'). Dialog ({modal: true, buttons: {"yes": function () {$ ('li #' + $ id) .remove ();}, "no": function () {}}, dragable: wrong}); & Lt; Div id = "dialog" & gt;
& lt; Div id = "sureDelete" & gt; Are you sure you want to delete this page? & Lt; / Div & gt;
& lt; / Div & gt;
Besides, I have no style in the dialogue. Is this an issue?
You need to make sure that you include the jQueryUI Base CSS file.
IE:
& lt; Link rel = "stylesheet" href = "* jQueryUIDir * / css / * themeDir * / jquery-ui- * version * .custom.css" type = "text / css" />
Comments
Post a Comment