Answers for "jquery if element has class on scroll"

CSS
5

detect if an element has a class jQurey

$("#EL_ID").hasClass("CLASS_NAME");
Posted by: Guest on May-14-2020
0

jquery check if has class

if ($("#about").hasClass("opened")) {
  $("#about").animate({right: "-700px"}, 2000);
}
Posted by: Guest on November-06-2021

Code answers related to "jquery if element has class on scroll"

Browse Popular Code Answers by Language