.on('show.bs.modal' function (event) not working code example
Example: $('#mymodal').modal('show') not working
<script type="text/javascript">
$(document).ready(function(){
$("#login-modal").modal("show");
});
</script>
<script type="text/javascript">
$(document).ready(function(){
$("#login-modal").modal("show");
});
</script>