Answers for "stop showing modal on close or outside click jquery"

0

prevent close modal when click outside

$('#myModal').modal({
    backdrop: 'static',
    keyboard: false
})

or in HTML
<a data-controls-modal="your_div_id" data-backdrop="static" data-keyboard="false" href="#">
Posted by: Guest on February-02-2021
2

modal show not close jquery

jQuery('#modal_ajax').modal('show', {backdrop: 'static', keyboard: false});
Posted by: Guest on December-25-2020

Code answers related to "stop showing modal on close or outside click jquery"

Code answers related to "Javascript"

Browse Popular Code Answers by Language