how to show bootstrap modal popup using javascript code example
Example 1: jquery modal on show + target button
$('#delete-file-modal').on('show.bs.modal', function (event) {
console.log(event.relatedTarget);
});
Example 2: open modal in jqwuery
$("#myModal").modal('show')
Example 3: open modal in jqwuery
$("#myModal").modal()