how to show modal 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()
Example 4: show a modal
<a onclick=\"$('#login').modal('hide');$('#lost').modal('show');\" href='#'>Click</a>