bootstrap modal display on load jquery code example
Example 1: bootstrap show modal on page load
<script type="text/javascript">
$(window).on('load',function(){
$('#myModal').modal('show');
});
</script>
Example 2: hide bootstrap modal jquery
$(document).ready(function(){
$(".btn").click(function(){
$("#myModal").modal('hide');
});
});