call modal from a modal code example
Example 1: call function on modal open
$('#myModal').on('shown.bs.modal', function (e) {
// do something...
})
Example 2: show a modal
<a onclick=\"$('#login').modal('hide');$('#lost').modal('show');\" href='#'>Click</a>