Book Image

jQuery 1.4 Reference Guide

By : Jonathan Chaffer, Karl Swedberg, jQuery Foundation
Book Image

jQuery 1.4 Reference Guide

By: Jonathan Chaffer, Karl Swedberg, jQuery Foundation

Overview of this book

If you are looking for a comprehensive reference guide to this popular JavaScript library, this book and eBook is for you. To make optimal use of jQuery, it's good to keep in mind the breadth of capabilities it provides. You can add dynamic, interactive elements to your sites with reduced development time using jQuery.Revised and updated for version 1.4 of jQuery, this book offers an organized menu of every jQuery method, function, and selector. Each method and function is introduced with a summary of its syntax and a list of its parameters and return value, followed by a discussion, with examples where applicable, to assist in getting the most out of jQuery and avoiding the pitfalls commonly associated with JavaScript and other client-side languages.In this book you will be provided information about the latest features of jQuery that include Sizzle Selector, Native event delegation, Event triggering, DOM manipulation, and many more. You won't be confined to built-in functionality, you'll be able to examine jQuery's plug-in architecture and we discuss both how to use plug-ins and how to write your own. If you're already familiar with JavaScript programming, this book will help you dive right into advanced jQuery concepts. You'll be able to experiment on your own, trusting the pages of this book to provide information on the intricacies of the library, where and when you need it.This book is a companion to Learning jQuery 1.3. Learning jQuery 1.3 begins with a tutorial to jQuery, where 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.jQuery 1.4 Reference Guide digs deeper into the library, taking you through the syntax specifications and following up with detailed discussions. You'll discover the untapped possibilities that jQuery 1.4 makes available, and polish your skills as you return to this guide time and again.
Table of Contents (19 chapters)
jQuery 1.4 Reference Guide
About the Authors
About the Reviewers

Other tools

While the previous tools each focus on a specific browser, these utilities are broader in their scope.

Firebug Lite

Though the Firebug extension itself is limited to the Firefox web browser, some of the features can be replicated by including the Firebug Lite script on the web page. This package simulates the Firebug console, including allowing calls to console.log() to work in all browsers and not raise JavaScript errors:


Like Firebug Lite, NotobiBug is a cross-browser tool that covers some of the same ground as the more robust and refined Firebug. Its strength lies in its DOM and object inspection, though it has a capable console as well. The console and inspector can be invoked by including a reference to the Nitobi JavaScript file and calling nitobi.Debug.log():

TextMate jQuery Bundle

This extension for the popular Mac OS X text editor TextMate provides syntax highlighting for jQuery methods and selectors, code completion for methods, and a quick API reference from within your code. The bundle is also compatible with the E text editor for Windows:

jQuerify Bookmarklet

This bookmarklet runs jQuery on web pages that don't already have it loaded, which allows us to experiment with jQuery on those sites in a console such as the one provided by Firebug or Safari's Develop menu:


When developing AJAX-intensive applications, it can be useful to see exactly what data is being sent between the browser and the server. The Charles web debugging proxy displays all HTTP traffic between two points, including normal web requests, HTTPS traffic, Flash remoting, and AJAX responses:


Fiddler is another useful HTTP debugging proxy with features similar to those in Charles. According to its site, Fiddler "includes a powerful event-based scripting subsystem, and can be extended using any .NET language":


Sloppy is a Java-based web proxy that, according to its web site, "deliberately slows the transfer of data between client and server" in order to simulate loading web pages with a dial-up connection at various bandwidths:

JS Bin

JS Bin is a collaborative JavaScript Debugging tool for rapid prototyping and sharing of scripts. It has a three-tab interface for writing JavaScript and HTML and viewing the output, and it automatically loads one of a handful of JavaScript libraries via a select list:


Bespin is a web-based, extensible code editor with collaboration features. It allows users to create an entire web site on Bespin's server and then deploy it to another server. As it uses the HTML5 Canvas element for rendering the code, only the most recent versions of Firefox, Safari, or Chrome are supported:


This Java-based web development IDE is free and cross-platform. Along with both standard and advanced code-editing features, it incorporates a full copy of the jQuery API documentation and has its own Firebug-based JavaScript debugger: