Answers for "bootstrap delete modal"

3

bootstrap modal on hide event

$('#myModal').on('hidden.bs.modal', function (e) {
  // do something...
});
Posted by: Guest on June-18-2021
4

close bootstrap modal with javascript

$('#myModal').modal('hide');
Posted by: Guest on April-16-2020
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
1

bootstrap modal prevent close

$('#myModal').modal({backdrop: 'static', keyboard: false})
Posted by: Guest on March-02-2020
-1

bootstrap modal popup clear data

$('#yourModalName').on('hidden.bs.modal', function(event) {
     $('#yourModalName').empty();
});
Posted by: Guest on December-28-2020

Browse Popular Code Answers by Language