$(document).ready(function(){ $("#myModal").modal('show'); }); not working code example
Example: bootstrap show modal on page load
<script type="text/javascript">
$(window).on('load',function(){
$('#myModal').modal('show');
});
</script>