modal jquery popup onclick button example
Example 1: onclick open modal jquery
$('#myModal').modal('toggle');
$('#myModal').modal('show');
$('#myModal').modal('hide');
Example 2: how to make popup modal in jquery with example
$('#sub-modal').modal({
closeExisting: false
});