Jquery

9
Why I should use jQuery? Simple. In just one glance at the source code of a page using jQuery you’ll see how easy it is to use, how much it accomplishes in so few lines of code, and how graceful it is. My mind was opened one day when I stumbled across some code written with jQuery. I was flipping through the RSS feeds and reading my daily dose of web design blogs when I came across an example of JavaScript loveliness that used jQuery. Truth be told, the code on that site had some browser related bugs… but the concept was something I hadn’t seen before.

Transcript of Jquery

Page 1: Jquery

Why I should use jQuery? Simple. In just one glance at the source code of a

page using jQuery you’ll see how easy it is to use, how much it accomplishes in so few lines of code, and how graceful it is.

My mind was opened one day when I stumbled across some code written with jQuery. I was flipping through the RSS feeds and reading my daily dose of web design blogs when I came across an example of JavaScript loveliness that used jQuery. Truth be told, the code on that site had some browser related bugs… but the concept was something I hadn’t seen before.

Page 2: Jquery

What about the code? The code looked almost simple. Like

nothing I had seen before. It made sense.

I started reading through the documentation and was amazed to see how much could be done with so little extra code.

Page 3: Jquery

When you can use jQuery? You should use jQuery when you need: A small library that gives you powerful control over the

Document Object Model With very little effort or work on your part Or Quick access to AJAX Without a lot of bloat (overhead - wasted code) And some basic animation effects to spice things up But… If you need super fancy effects for animation, drag and

drop, and super smooth animation then you’ll probably want to use Prototype and one of the many great library created to enhance the effects.

Page 4: Jquery
Page 5: Jquery

Released January 14, 2006 by John Regis

Rapid popularity growth Play well with other libraries Built in Support with AJAX, Events and

Animations Succinct Code, Small File Size Java Script for Designers

Page 6: Jquery

DOM element selections DOM traversal and modification,

(including support for CSS 1-3 and basic XPath)

Events CSS manipulation Effects and animations Extensibility

Page 7: Jquery

Light weight compared to other Libraries

Have a wide range of plug-ins Lot simpler than other Libraries Shorter codes are used

Page 8: Jquery
Page 9: Jquery