ml92 ml92 - 1 month ago 4
jQuery Question

Why I can't check is div element loaded

How to check is DIV element loaded, I tried using this code

$(document).ready(function() {
$('.slajder').loaded(function() {

Therefore, when my slide box DIV called .slajder loaded full 100%, I want to add class left-animation


You can check div element loading like this also

 if($('.slajder').length > 0){
  // Do something