bootstrap 4 jquery open modal code example
Example 1: jquery display modal bs4
$('a[href$="#Modal"]').on( "click", function() {
$('#Modal').modal('show');
});
Example 2: onclick open modal jquery
$('#my-modal').modal({
show: 'false'
});
$('a[href$="#Modal"]').on( "click", function() {
$('#Modal').modal('show');
});
$('#my-modal').modal({
show: 'false'
});