Introducing jQuery

Post on 17-May-2015

1.395 views 0 download

Tags:

Transcript of Introducing jQuery

INTRODUCING JQUERYThe Write Less, Do More JavaScript Library

Working Server Side

Pros and Cons of JavaScript

Pros and Cons of jQuery

jQuery to the Rescue

JavaScript library Developed and tested to be cross-

browser compatible Easily traverses DOM using CSS

selectors Can use Google or Microsoft CDN for fast

download and caching

jQuery Advantages

Free Open Source Software Fully documented Builds on existing knowledge of CSS Huge community Many plugins

jQuery UI

Powerful set of plugins and themes Complete widgets Low-level interactions Theme easily customized to match your site

Keys to jQuery Syntax

jQuery is JavaScript Start jQuery calls with $ Use CSS selector syntax to refer to

document elements Chain multiple jQuery calls together

using dot syntax

Examples

Accordian-style FAQ Slide show Form validation Dialog box with jQuery UI Goal tracking dashboard

Things to watch for

How to include jQuery on a web page Using selector syntax Chaining Using a jQuery plug-in

Resources

http://jquery.com/ http://tinyurl.com/jQueryVideos http://weblogs.asp.net/scottgu/archive/2

009/09/15/announcing-the-microsoft-ajax-cdn.aspx