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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.