Site icon Puneet Sharma – Freelance Web Developer

How to initiate Bootstrap 5 modal on a button click with jQuery

chek the following jQuery script to open a modal on a button click.

$('.btn-trash').click(function(){
        $("#deleteTriggerModal").modal('show');
    });
Exit mobile version