jQuery

TotT 2014

jQuery

"... makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers."
- jquery.com

Use Cases

  • Client-side scripting
  • Small Web applications
  • HTML DOM simplication
  • Basis of JS frameworks

Example: Selections

Example: Events

Example: Effects

Example: Traversals

Example: XHR (Ajax)

A Word of Caution

jQuery alone is good for DOM scripting.

Don't design complex web apps around DOM scripting!

Review

  • Selections
  • Events
  • Effects
  • Traversals
  • XHR