how to check the div block is loaded or not based on class name code example Example: detect if an element has a class jQurey $("#EL_ID").hasClass("CLASS_NAME");