modal in bootstrap 3 cs 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>