onload jquery doesnt work 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!" );
});