show a bootstrap modal dialog via js code example Example: onclick open modal jquery $('#myModal').modal('show');