bootstrap toggle modal javascript code example Example: html data-target modal $('#myModal').modal('show')