modal on shown event code example
Example 1: call function on modal open
$('#myModal').on('shown.bs.modal', function (e) {
// do something...
})
Example 2: modal show jquery event
$("#phoneEdit").on('shown.bs.modal', function(e){
console.log('enter here');
// do anything after the modal open
$(".number_six").val("");
});