$('#myModal').modal('toggle'); $('#myModal').modal('show'); $('#myModal').modal('hide');

close modal jquery

$('#modal').modal('hide');

jquery close bootstrap model

$(document).ready(function(){ // Open modal on page load $("#myModal").modal('show'); // Close modal on button click $(".btn").click(function(){ $("#myModal").modal('hide'); }); });

data-dismiss= modal in jquery

$('#myModal').on('hidden.bs.modal', function () { // do something… })

on modal close jquery

$('#myModal').on('hidden.bs.modal', function () { // do something… })

jquery on modal close event

jQuery('#modal_ajax').modal('show', {backdrop: 'static', keyboard: false});

modal show not close jquery

Similar Code Examples