$(selector).removeClass(classname)
".removeClass()" method is used to remove CSS class from the selected element. Multiple classes can be removed from an element, seperating the class names with space.
Note: If "classname" parameter is empty, all classes will be removed from the selected elements. The below example shows you how to remove a css class from the paragraph element.
Hscripts is praised as best free webmaster resources online, by our users.
Free website content that help to develop, build, promote and maintain a web site.