Hi

Addclass(this): if class attribute doesnt contain this, then add this

Toggleclass(this): if class attribute contains this, remove this, else
add this.

Cheers :)

On May 11, 3:35 am, runrunforest <craigco...@gmail.com> wrote:
> Hi,
>
> method addClass and toggleClass do pretty much the same thing, what is
> the true difference between them ?

Reply via email to