O'Reilly logo

jQuery, jQuery UI, and jQuery Mobile: Recipes and Examples by Adriaan de Jonge

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Recipe: Introducing the Basic Usage ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required