Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery check if has class

if ($("#about").hasClass("opened")) {
  $("#about").animate({right: "-700px"}, 2000);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #check #class
ADD COMMENT
Topic
Name
8+3 =