show modal javascript code example
Example 1: open modal js
$('#modal-name').modal('show');
Example 2: open modal in jqwuery
$("#myModal").modal()
Example 3: show a modal
<a onclick=\"$('#login').modal('hide');$('#lost').modal('show');\" href='#'>Click</a>