jquery - Twitter Bootstrap : How to close modal dialog only by close icon? -
I did not stop closing the model dialog by only (close) button.it when clicked out of the modal Click on How can I get it? $ {Document.getElementById ("XlInput"). Value = $ (document) .ready (function () Document.title;});}); Function closeDialog () {$ ('# windowTitleDialog'). Model ('hide'); }; Function okClicked () {document.title = document.getElementById ("xlInput"). Values; CloseDialog (); };
look at the doctor:
remove:
$ ('# myModal') Model (option) Options:. Backdrop: Includes a Model-Backdrop element Alternatively, there is a background that does not turn off the modal on click
Keyboard :. Press the escape key when the modal closes
then just call:
$ ('# mymodal'). Model ({playback: 'static', keyboard: wrong});
Comments
Post a Comment