$('#giftModel').modal('show'); code example
Example 1: onclick open modal jquery
$('#myModal').modal('show');
Example 2: open bootstrap modal with javascript
$("#myModal").modal()
$('#myModal').modal('show');
$("#myModal").modal()