trigger modal from button code example Example 1: bootstrap modal popup Open Modal × Modal Header Some text in the modal. Example 2: html data-target modal $('#myModal').modal('show')