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