modal show modalType code example Example 1: bootstrap modal Launch demo modal Modal title × ... Example 2: modal in bootstrap 4 $('#myModal').modal('show')