Book Image

Learning Drupal 6 Module Development

Book Image

Learning Drupal 6 Module Development

Overview of this book

Table of Contents (14 chapters)
Learning Drupal 6 Module Development
Credits
About the Author
About the Reviewers
Preface

Introducing jQuery


jQuery is one of the most innovative JavaScript libraries to come around. Using an Object-Oriented design pattern called the Fluent Interface, jQuery makes it possible to chain a sequence of function calls together to construct elaborate queries.

What does jQuery query? Usually, it is used to query the DOM tree.

Note

A DOM (Document Object Model) tree is a data structure that defines the structure of a document—usually an HTML or XML document. The document is presented as a tree structure, where the first element is the root. The API is standardized (see http://w3.org).

DOM is known for its complex object model. jQuery provides an API that is more compact and easier to use.

However, it can be used for more than just querying. It has a suite of AJAX tools, tools for event handling, glitzy effects, and some very useful utility functions. We will use a little bit of everything in this chapter.

Note

For more information on jQuery, see http://jquery.com. A fantastic book entitled...