How to check (with jQuery) if an element has only one given class?
$(#id).hasClass('class1') retus true if the element has that class and another ones. How can I check if it has only THAT class?
How to check (with jQuery) if an element has only one given class?
$(#id).hasClass('class1') retus true if the element has that class and another ones. How can I check if it has only THAT class?
برچسب:
نویسنده: استخدام کار