modal control using javascript code example Example: open bootstrap modal with javascript $("#myModal").modal()