Definition and Usage
The addClass() method adds one or more class names to the selected elements.
This method does not remove existing class attributes, it only adds one or more class names to the class attribute.
Tip: To add more than one class, separate the class names with spaces.
Syntax
The addClass() method adds one or more class names to the selected elements.
This method does not remove existing class attributes, it only adds one or more class names to the class attribute.
Tip: To add more than one class, separate the class names with spaces.
Syntax
- Listed
- Listed
- Listed
- Listed
- Listed
- Listed