bootrap modal to show javascript code example Example: open bootstrap modal with javascript $("#myModal").modal()