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