Codechef4u is a community for computer professionals,by computer professionals,just like you; who loves sharing and helping each others,Join them
Share your post


The jQuery addClass() method adds one or more class names to the selected element.


a.  This does not remove existing class attributes, it only adds one or more class names to the class attribute.
b. To add more than one class, separate the class names with spaces.

Code sample:


Share your answer

Share as a guest

Please subscribe me to the CodeChef4U.

By creating your new answer, you agree to the privacy policy and terms of service.