When data is being loaded on the div, the loader is visible. After the data is loaded, the loader disappears and then the data is visible. code example
Example: display div while load
<script>
$(window).load(function() {
$('#loading').hide();
});
</script>