Posts

Showing posts with the label bootstrap

Disable click outside of bootstrap modal area to close modal view

There are various method for disable click of Bootstrap modal area to close modal 1) $ ( '#myModal' ). modal ({ backdrop : 'static' }) ; 2) <button data-target = "#myModal" data-toggle = "modal" data-backdrop = "static" > show modal </button> ` 3) $ ( '#myModal' ). modal ({ backdrop : 'static' , keyboard : false })