modal to show in div code example
Example 1: show a modal
<a onclick=\"$('#login').modal('hide');$('#lost').modal('show');\" href='#'>Click</a>
Example 2: modal behind html element
<div class="modal" id="modal"></div>
</body>
</html>
<a onclick=\"$('#login').modal('hide');$('#lost').modal('show');\" href='#'>Click</a>
<div class="modal" id="modal"></div>
</body>
</html>