javascript: how to use jquery on load function for CSS classes when they start to load code example
Example: jquery onload event
// A $( document ).ready() block.
$( document ).ready(function() {
console.log( "ready!" );
});
// A $( document ).ready() block.
$( document ).ready(function() {
console.log( "ready!" );
});