how to show the modal in jquery code example
Example: jquery on modal show
$(window).on('shown.bs.modal', function() {
$('#code').modal('show');
alert('shown');
});
$(window).on('shown.bs.modal', function() {
$('#code').modal('show');
alert('shown');
});