jQuery removeClass Method

Read the tutorial on YogiHosting »

1. Remove a Single Class Name

My Paragraph

2. Remove 3 Class Names

My Paragraph

3. Using jQuery removeClass Function Parameter

Remove "borderSolid" class from the paragraph whose index is not 0 and does not contain "red" class.

First Paragraph with class "Red"

Second Paragraph with class "Red"

Third Paragraph without any class