jquery hasClass() method
Translation results:
has
英[həz] 美[hæz]
v.Have (the third person singular of have); (in a kinship relationship) accept; take; Buy
class
UK[klɑ:s] US[klæs]
n.Class; class; grade; category
vt. Classify... into a certain level, treat... (or classify, categorize); put... into a certain class
adj. Very good, excellent, outstanding
vi. Belongs to... category (or level) and is listed as a certain category (or level)
jquery hasClass() methodsyntax
Function: hasClass() method checks whether the selected element contains the specified class.
Syntax: $(selector).hasClass(class)
##Parameters:
Description | |
Required. Specifies the class to be found in the specified element. |