show.bs.modal code example
Example 1: how to show bootstrap modal
<script>
var myModal = new bootstrap.Modal(document.getElementById('ModalID'))
myModal.show()
</script>
Example 2: show a modal
<a onclick=\"$('#login').modal('hide');$('#lost').modal('show');\" href='#'>Click</a>