how to check if an element is a member of a class using jquery code example Example: detect if an element has a class jQurey $("#EL_ID").hasClass("CLASS_NAME");