how to open a modal using javascript code example
Example 1: open modal in jqwuery
$("#myModal").modal('show')
Example 2: open modal js
$('#modal-name').modal('show');
$("#myModal").modal('show')
$('#modal-name').modal('show');