how to show modal for limited time 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');
});