toggleClass « jQuery « JavaScript DHTML






1.ToggleClass function
2.Toggle DIV color
3.toggleClass(class) adds the specified class if it is not present, removes the specified class if it is present.