Answers for "bootstrap modal not diaplkaying"

1

non dismisal modal bootstrap

If using JavaScript then:
<script>
$('#myModal').modal({
    backdrop: 'static',
    keyboard: false
})
</script>

or in HTML:

<a data-controls-modal="your_div_id" data-backdrop="static" data-keyboard="false" href="#">
Posted by: Guest on January-22-2021
0

bootstrap undismissable modal

<!-- for bootstrap 5 -->
<!-- Add this below code to your modal div
data-bs-backdrop="static" data-bs-keyboard="false"  
-->
<div className="modal fade" data-bs-backdrop="static" data-bs-keyboard="false" id="sendOtpModal" tabIndex="-1" aria-labelledby="sendOtpModalLabel" aria-hidden="true">
	...
</div>
Posted by: Guest on December-06-2021

Code answers related to "bootstrap modal not diaplkaying"

Browse Popular Code Answers by Language