remove

UK[rɪˈmu:v] US[rɪˈmuv]

vt.Remove; expel; take off, take off; migrate

vi. Migrate, move; leave

n.Distance, gap; move

class

英[klɑ:s] 美[klæs]

n.Class; class; grade; category

vt. Classify… into a certain level, treat… as (or classify, classify); put… into a certain class

adj. Very good, excellent, outstanding

vi. Belong to... category (or level), be listed as a certain category (or level)

jquery removeClass() method syntax

Function:removeClass() method removes one or more classes from the selected element. If no parameters are specified, this method will remove all classes from the selected elements.

Syntax:$(selector).removeClass(class)

Parameters:

Parameter Description
class Optional. Specifies the name of the class to be removed. To remove several classes, use spaces to separate class names. If this parameter is not set, all classes will be removed.

#Use functions to remove classes:Use functions to remove classes from selected elements.

Syntax:$(selector).removeClass(function(index,oldclass))

##Parameters:

jquery removeClass() 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!
Parameters Description function(index,oldclass) Required. Removes the specified class by running the function. index Optional. Accepts the index position of the selector. html Optional. Accepts the old class value of the selector.