$(document).ready(function() {
console.log( "ready!" );
});
Triggers when the HTML is ready. Use this to start running code as soon as possible.
window.onload = function() {
init();
};
This is not jQuery. Trigger when everything on the page (eg images) is finished loading.
Leave a Reply