Learning jQuery 1.3

Better Interaction Design and Web Development with Simple JavaScript Techniques
Preview in Mapt

Learning jQuery 1.3

Jonathan Chaffer, Karl Swedberg

Better Interaction Design and Web Development with Simple JavaScript Techniques
Mapt Subscription
FREE
$29.99/m after trial
eBook
$16.80
RRP $23.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$16.80
$39.99
$29.99 p/m after trial
RRP $23.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Learning jQuery 1.3 Book Cover
Learning jQuery 1.3
$ 23.99
$ 16.80
Agile Project Management with GreenHopper 6 Blueprints Book Cover
Agile Project Management with GreenHopper 6 Blueprints
$ 19.99
$ 14.00
Buy 2 for $30.80
Save $13.18
Add to Cart

Book Details

ISBN 139781847196705
Paperback444 pages

Book Description

To build interesting, interactive sites, developers are turning to JavaScript libraries such as jQuery to automate common tasks and simplify complicated ones. Because many web developers have more experience with HTML and CSS than with JavaScript, the library's design lends itself to a quick start for designers with little programming experience. Experienced programmers will also be aided by its conceptual consistency.

Revised and updated for version 1.3 of jQuery, this book teaches you the basics of jQuery for adding interactions and animations to your pages. Even if previous attempts at writing JavaScript have left you baffled, this book will guide you past the pitfalls associated with AJAX, events, effects, and advanced JavaScript language features.

In this book, the authors share their knowledge, experience, and enthusiasm about jQuery to help you get the most from the library and to make your web applications shine. The book introduces jQuery and shows how you can write a functioning jQuery program in just three lines of code. It then guides you through CSS selectors and shows how to enhance the basic event handling mechanisms to give them a more elegant syntax. You will then learn to add impact to your actions through a set of simple visual effects and also to create, copy, reassemble, and embellish content using jQuery's DOM modification methods. You will also learn to send and retrieve information with AJAX methods. The book will then step you through many detailed, real-world examples and even equip you to extend the jQuery library itself with your own plug-ins.

Table of Contents

Chapter 1: Getting Started
What jQuery does
Why jQuery works well
History of the jQuery project
Our first jQuery-powered web page
Summary
Chapter 2: Selectors
The Document Object Model
The $() factory function
CSS selectors
Attribute selectors
Custom selectors
DOM traversal methods
Accessing DOM elements
Summary
Chapter 3: 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
Chapter 4: Effects
Inline CSS modification
Basic hide and show
Effects and speed
Compound effects
Creating custom animations
Simultaneous versus queued effects
Summary
Chapter 5: DOM Manipulation
Manipulating attributes
Inserting new elements
Moving elements
Wrapping elements
Copying elements
DOM manipulation methods in a nutshell
Summary
Chapter 6: 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
Chapter 7: Table Manipulation
Sorting and paging
Modifying table appearance
Summary
Chapter 8: Forms with Function
Improving a basic form
Compact forms
Working with numeric form data
Summary
Chapter 9: Shufflers and Rotators
Headline rotator
An image carousel
Summary
Chapter 10: Using Plugins
Finding plugins and help
How to use a plugin
The Form plugin
The jQuery UI plugin library
Other recommended plugins
Summary
Chapter 11: 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

What You Will Learn

This book will give you the tools you need to be on the cutting edge of the web development community. With these techniques at your disposal, you can:

  • Use selectors to get anything you want from a page
  • Make things happen on your page with events
  • Add flair to your actions with animation effects
  • Change your page on command with DOM manipulation
  • Use AJAX to get the most out of server-side code
  • Transform drab, static information containers into beautiful, dynamic tables
  • Breathe new life into online forms
  • Create dynamic shufflers, rotators, and galleries
  • Get started with official jQuery plug-ins
  • Customize by writing your own jQuery plug-ins

Authors

Table of Contents

Chapter 1: Getting Started
What jQuery does
Why jQuery works well
History of the jQuery project
Our first jQuery-powered web page
Summary
Chapter 2: Selectors
The Document Object Model
The $() factory function
CSS selectors
Attribute selectors
Custom selectors
DOM traversal methods
Accessing DOM elements
Summary
Chapter 3: 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
Chapter 4: Effects
Inline CSS modification
Basic hide and show
Effects and speed
Compound effects
Creating custom animations
Simultaneous versus queued effects
Summary
Chapter 5: DOM Manipulation
Manipulating attributes
Inserting new elements
Moving elements
Wrapping elements
Copying elements
DOM manipulation methods in a nutshell
Summary
Chapter 6: 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
Chapter 7: Table Manipulation
Sorting and paging
Modifying table appearance
Summary
Chapter 8: Forms with Function
Improving a basic form
Compact forms
Working with numeric form data
Summary
Chapter 9: Shufflers and Rotators
Headline rotator
An image carousel
Summary
Chapter 10: Using Plugins
Finding plugins and help
How to use a plugin
The Form plugin
The jQuery UI plugin library
Other recommended plugins
Summary
Chapter 11: 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

Book Details

ISBN 139781847196705
Paperback444 pages
Read More

Read More Reviews

Recommended for You

Agile Project Management with GreenHopper 6 Blueprints Book Cover
Agile Project Management with GreenHopper 6 Blueprints
$ 19.99
$ 14.00
Mastering Unity 2D Game Development Book Cover
Mastering Unity 2D Game Development
$ 32.99
$ 6.60
Instant KineticJS Starter Book Cover
Instant KineticJS Starter
$ 12.99
$ 9.10
Blender 2.5 Lighting and Rendering Book Cover
Blender 2.5 Lighting and Rendering
$ 23.99
$ 16.80
GLSL Essentials Book Cover
GLSL Essentials
$ 20.99
$ 14.70
Oracle Essbase 11 Development Cookbook Book Cover
Oracle Essbase 11 Development Cookbook
$ 35.99
$ 25.20