How to disable Escape Key for Bootstrap Modals?

0
1403

f your modal dialog looks like this

<div id="myModal" class="modal hide fade" tabindex="-1" ...>
   ....
</div>

Removing tabindex=”-1″ should disable Escape key.

Ref. Link – https://stackoverflow.com/questions/16693079/how-to-disable-escape-key-for-twitter-bootstrap-modals

LEAVE A REPLY

Please enter your comment!
Please enter your name here