This is useful to check that you’re images have loaded to continue running other scripts. You can specific class or an id instead of the img
to target specifically
$(‘img’).load(function() {
console.log(‘image has loaded successfully’);
});
Sometimes only you know exactly what you want, make an icon yourself with our little guide! If you're feeling generous submit your finished icon and to help out fellow web enthusiasts! Just...
Tweet us