PacktLib: Learning jQuery 1.3

Learning jQuery 1.3

Credits

Foreword

About the Authors

About the Reviewers

Preface

Getting Started

What jQuery does

Why jQuery works well

History of the jQuery project

Our first jQuery-powered web page

Summary

Selectors

The Document Object Model

The $() factory function

CSS selectors

Attribute selectors

Custom selectors

DOM traversal methods

Accessing DOM elements

Summary

Events

Performing tasks on page load

Simple events

Compound events

The journey of an event

Altering the journey: the event object

Removing an event handler

Simulating user interaction

Summary

Effects

Inline CSS modification

Basic hide and show

Effects and speed

Compound effects

Creating custom animations

Simultaneous versus queued effects

Summary

DOM Manipulation

Manipulating attributes

Inserting new elements

Moving elements

Wrapping elements

Copying elements

DOM manipulation methods in a nutshell

Summary

AJAX

Loading data on demand

Choosing a data format

Passing data to the server

Keeping an eye on the request

AJAX and events

Security limitations

Additional options

Summary

Table Manipulation

Sorting and paging

Modifying table appearance

Summary

Forms with Function

Improving a basic form

Compact forms

Working with numeric form data

Summary

Shufflers and Rotators

Headline rotator

An image carousel

Summary

Using Plugins

Finding plugins and help

How to use a plugin

The Form plugin

The jQuery UI plugin library

Other recommended plugins

Summary

Developing plugins

Adding new global functions

Adding jQuery Object Methods

DOM traversal methods

Adding new shortcut methods

Method parameters

Adding a selector expression

Sharing a plugin with the world

Summary

Online Resources

Online Resources

Online Resources

Online Resources

Online Resources

Online Resources

Online Resources

Online Resources

Development Tools

Development Tools

Development Tools

Development Tools

Development Tools

Development Tools

JavaScript Closures

JavaScript Closures

JavaScript Closures

JavaScript Closures

JavaScript Closures

JavaScript Closures

Quick Reference

Quick Reference

Quick Reference

Quick Reference

Quick Reference

Quick Reference

Quick Reference

Quick Reference

Index