jquery onload modal popup 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>