Monthly Archives: May 2014

SET content

Setting DOM data with .text, .html, and .val

callback

Changing attributes

Callback for getting attribute value

GETting – Manipulate DOM

Simple functions

UI value extraction

Getting attributes

Chaining

callback function

Stop

stop method

Animate

animate

Multiple properties

Queue Functionality

Sliding

slide down

slide up

slide toggle

fadeIn and fadeOut

Fade In

Fade Out

Toggling fade in and fade out

toggle

show and hide elements

The alert box will be showed twice because we have two p elements. Basically its saying that when you click the button with id ‘show’, have all p show themselves, then display an alert box. Since we have two p elements,the alert box will be shown twice.