Chapter 1. Introducing jQuery

This chapter covers

  • What exactly jQuery is and why you should use it
  • The unobtrusive JavaScript strategy
  • Choosing the right version of jQuery
  • Fundamental elements and concepts of jQuery

“There are only two kinds of languages: the ones people complain about and the ones nobody uses.” How well this sentence from Bjarne Stroustrup, who designed and implemented C++, summarizes the sentiments about JavaScript. It, as well as several other languages (most notably PHP), was bemoaned as a “bad” language for several years. Then, something magical happened. Thanks to the rise of Ajax, the release of several libraries such as Prototype, Moo Tools, and jQuery, and the new, highly interactive web applications (which you ...

Get jQuery in Action, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.