Disable click outside of bootstrap model area to close modal
Hello Friends following is the solution to disable outside click of bootstrap modal area
If you opening the modal by js use following:
$('#myModal').modal({backdrop: 'static', keyboard: false})
Or You can define your modal behavior, defining data-keyboard and data-backdrop.<div id="modal" class="modal hide fade in" data-keyboard="false" data-backdrop="static">
Hope this help !
Categories: AngularJs
bootstrap, data-backdrop, data-keyboard, diable, gray area disable, moda, modal
Comments (0)
Trackbacks (0)
Leave a comment
Trackback
Comments