Does jquery have a boolean function to determine if a particular element has a certain class?
2 Answers
http://api.jquery.com/hasClass/
Here you will get all the information you need along with samples.
http://api.jquery.com/hasClass/
Here you will get all the information you need along with samples.
.hasClass()function within the jQuery API reference. Also this is a duplicate of Determine if an element has a CSS class with jQuery