Answers for "if a has class selected javascript"

CSS
6

detect if an element has a class jQurey

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

jquery hasclass

$( "#mydiv" ).hasClass( "foo" )
Posted by: Guest on March-26-2020

Code answers related to "if a has class selected javascript"

Browse Popular Code Answers by Language