Tell me how do you add and remove CSS classes to an element using jQuery?

Submitted by: Muhammad
By using the addClass() and removeClass() jQuery methods. This can be very handy, while dynamically changing class of elements e.g. marking them inactive or active and using class “.active” etc.
Submitted by: Muhammad

Read Online Web Development Ninjas Job Interview Questions And Answers