jquery modal or html modal code example
Example 1: jquery on modal show
$(window).on('shown.bs.modal', function() {
$('#code').modal('show');
alert('shown');
});
Example 2: how to make popup modal in jquery with example
$("#sticky").modal({
escapeClose: false,
clickClose: false,
showClose: false
});