bootstrap event code example
Example 1: call modal by id href
<a href="!#" data-toggle="modal" data-target="#login">
</a>
Example 2: bootstrap on hidden bs modal
$('#myModal').on('hidden.bs.modal', function (e) {
// do something...
})
<a href="!#" data-toggle="modal" data-target="#login">
</a>
$('#myModal').on('hidden.bs.modal', function (e) {
// do something...
})