Book Image

Learning jQuery 1.3

By : Jonathan Chaffer, Karl Swedberg
Book Image

Learning jQuery 1.3

By: Jonathan Chaffer, Karl Swedberg

Overview of this book

<p>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. <br /><br />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.<br /><br />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.</p>
Table of Contents (22 chapters)
Learning jQuery 1.3
Credits
Foreword
About the Authors
About the Reviewers
Preface
Index

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:

http://www.getfirebug.com/lite.html

NitobiBug

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().

http://www.nitobibug.com/

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:

http://github.com/kswedberg/jquery-tmbundle/

Charles

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:

http://www.xk72.com/charles/

Fiddler

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":

http://www.fiddlertool.com/fiddler/

Aptana

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.

http://www.aptana.com/