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() method syntax

Function:hasClass() method checks whether the selected element contains the specified class.

Syntax:$(selector).hasClass(class)

##Parameters:

jquery hasClass() method example

     

This is a heading

This is a paragraph.

This is another paragraph.

Run instance »

Click the "Run instance" button to view the online instance

About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!
Parameter Description class Required. Specifies the class to be found in the specified element.