Chapter 1. Getting Started with jQuery
The motto of jQuery is write less, do more. And by using the jQuery library, you can get started doing exactly that with nothing more than your favorite text editor.
This chapter starts with a hello world–like recipe to cover the basics, it discusses the fundamentals of the $ function and how to prevent conflicts with other libraries.
To ensure that your own code is just as concise as that of jQuery, the library offers a set of helper functions. This chapter covers the most important functions, which are designed to help you to eliminate useless boilerplate code or perform common tasks efficiently. You will see many of these functions being used in the following chapters.