Answers for "open bootstrap5 modal with js"

6

open bootstrap modal with javascript

$("#myModal").modal()
Posted by: Guest on July-21-2020
1

bootstrap5 modal

var myModalEl = document.getElementById('myModal')
var modal = bootstrap.Modal.getInstance(myModalEl) // Returns a Bootstrap modal instance
Posted by: Guest on December-22-2021

Browse Popular Code Answers by Language