Home
JavaScript DHTML
Ajax Layer
Data Type
Date Time
Development
Document
Dojo toolkit
Event
Event onMethod
Ext JS
Form Control
GUI Components
HTML
Javascript Collections
Javascript Objects
Javascript Properties
jQuery
Language Basics
Mochkit
Mootools
Node Operation
Object Oriented
Page Components
Rico
Scriptaculous
Security
SmartClient
Style Layout
Table
Utilities
Window Browser
YUI Library
addClass « jQuery « JavaScript DHTML
JavaScript DHTML
jQuery
addClass
1.
Add class to a selected Tag
2.
Add style class to tag
3.
Add two classes
4.
addClass(class) adds the specified class(es) to each of the set of matched elements.
5.
Adds the class 'selected' to the matched elements.
6.
Adds the classes 'selected' and 'highlight' to the matched elements.