How to change class jquery – toggleClass jQuery

In the last post we learnt how to add a class by jquery. Now we will add a class on first click, then on the second we will remove the class. To accomplish this the first we have to do load up the jquery library, we learnt this in the addClass jquery tutorial then we will… Continue reading How to change class jquery – toggleClass jQuery

How to addclass jquery – javascript add class

For a frontend programmers is vital to know how to add a class on click, or when document is ready. There is nothing complicated in adding a class when an element is clicked. Here we will learn all necesary steps to add a class. The first thing we have to do is load up the… Continue reading How to addclass jquery – javascript add class