Hello I have created a bootstrap modal and I have removed the ×
and of course it doesn't have a cancel button, just an accept button that takes me to another page. Well, what I need is that my modal does not close with the ESC key or by clicking on another part of the screen (since it also closes), only and only that it stays there and does not close, once the user does click on open modal, I can no longer remove it. Is there any way? Thanks greetings
I am working on an asp .net webform application with c#
Passing options to the modal through jQuery
$('#myModal').modal(options)
options is an options object and has an attributebackdrop
which can be specified to be static, that is, the window does not close when clicking outside of it:For more information I could see the boostrap documentation: Boostrap Modal Options