Answers for "modal hide event jquery"

5

on modal close jquery

$('#myModal').on('hidden.bs.modal', function () {
  // do something…
})
Posted by: Guest on April-10-2020
1

jquery on modal show

$(window).on('shown.bs.modal', function() { 
    $('#code').modal('show');
    alert('shown');
});
Posted by: Guest on October-01-2020
1

hide bootstrap modal jquery

$(document).ready(function(){
        $(".btn").click(function(){
            $("#myModal").modal('hide');
        });
});
Posted by: Guest on September-19-2020
1

check if modal hide jquery

alert($('#registration-exams-modal').hasClass('show'));
Posted by: Guest on July-30-2020
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 "Javascript"

Browse Popular Code Answers by Language