bootstrap modal show event jquery code example
Example 1: programmatically show modal boostrap
$('#myModal').modal('show');
Example 2: jquery on modal show
$(window).on('shown.bs.modal', function() {
$('#code').modal('show');
alert('shown');
});
Example 3: bootstrap show modal jquery
$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');
Example 4: modal show jquery event
$("#phoneEdit").on('shown.bs.modal', function(e){
console.log('enter here');
// do anything after the modal open
$(".number_six").val("");
});