JQuery Style

Action Effect
css(attribute) Returns the value for the selected attribute
css( attributevalue) Sets the value for the selected attribute
css( { attribute : value [,attributevalue …]}) Sets values for a range of attributes
addClass(className) Adds a css class to the selected elements
removeClass(className) Removes a css class from the selected attributes
toggleClass(className) Adds the css class if not already applied, removes it if it is
hide() Hide the selected element(s)
show() Show the selected element(s)
fadeIn(speed) Show the selected element(s) by a fade
fadeOut(speed) Hide the selected element(s) by a fade
toggle() Hide/Show toggle the selected element(s)
toggle(speed) Hide/Show toggle the selected element(s) by fadeIn/Out

Speed = ‘slow’ | ‘normal’ | ‘fast’

Leave a Reply