opne pop up boostrap javascript code example
Example 1: bootstrap 4 hide modal via javascript
$('#myModal').modal('hide')
Example 2: show a modal
<a onclick=\"$('#login').modal('hide');$('#lost').modal('show');\" href='#'>Click</a>
$('#myModal').modal('hide')
<a onclick=\"$('#login').modal('hide');$('#lost').modal('show');\" href='#'>Click</a>