How to create modal on button click in Bootstrap

+10 How to create modal on button click in Bootstrap <!DOCTYPE html> <html lang=”en”> <head> <title>Codelizar Modal Example</title> <link rel=”stylesheet” href=”https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css”> <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js”></script> <script src=”https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js”></script> </head> <body> <h2>Modal Button</h2> <button id=”btn_box” class=”btn btn-success” type=”button” data-target=”#div_box” data-toggle=”modal”>Open Me</button> <div class=”modal fade” id=”div_box” role=”dialog”> <div class=”modal-dialog”> <!–Modal Content Part–> <div class=”modal-content”> <!–Modal Heading Part–> <div class=”modal-header”> <button …