JavaScript & jQuery: The Missing Manual

( 1 )


JavaScript lets you supercharge your HTML with animation, interactivity, and visual effects—but many web designers find the language hard to learn. This jargon-free guide covers JavaScript basics and shows you how to save time and effort with the jQuery library of prewritten JavaScript code. You’ll soon be building web pages that feel and act like desktop programs, without having to do much programming.

The ...

See more details below
Paperback (Second Edition)
$24.29 price
(Save 39%)$39.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (24) from $11.48   
  • New (15) from $22.05   
  • Used (9) from $11.48   
JavaScript & jQuery: The Missing Manual

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$17.99 price
(Save 43%)$31.99 List Price


JavaScript lets you supercharge your HTML with animation, interactivity, and visual effects—but many web designers find the language hard to learn. This jargon-free guide covers JavaScript basics and shows you how to save time and effort with the jQuery library of prewritten JavaScript code. You’ll soon be building web pages that feel and act like desktop programs, without having to do much programming.

The important stuff you need to know:

  • Make your pages interactive. Create JavaScript events that react to visitor actions.
  • Use animations and effects. Build drop-down navigation menus, pop-ups, automated slideshows, and more.
  • Improve your user interface. Learn how the pros make websites fun and easy to use.
  • Collect data with web forms. Create easy-to-use forms that ensure more accurate visitor responses.
  • Add a dash of Ajax. Enable your web pages to communicate with a web server without a page reload.
  • Practice with living examples. Get step-by-step tutorials for web projects you can build yourself.
Read More Show Less

Product Details

  • ISBN-13: 9781449399023
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 11/2/2011
  • Series: Missing Manual Series
  • Edition description: Second Edition
  • Edition number: 2
  • Pages: 538
  • Sales rank: 128,681
  • Product dimensions: 7.00 (w) x 9.00 (h) x 1.30 (d)

Meet the Author

David Sawyer McFarland is president of Sawyer McFarland Media, Inc., a Web development and training company in Portland, Oregon. He's been building websites since 1995, when he designed an online magazine for communication professionals. He's served as webmaster at the University of California at Berkeley and the Berkeley Multimedia Research Center, and oversaw a complete CSS-driven redesign of David is also a writer and trainer, and teaches in the Portland State University multimedia program. He wrote the bestselling Missing Manual titles on Adobe Dreamweaver, CSS, and JavaScript.

Read More Show Less

Table of Contents

The Missing Credits;
About the Author;
About the Creative Team;
The Missing Manual Series;
What Is JavaScript?;
What Is jQuery?;
HTML: The Barebones Structure;
CSS: Adding Style to Web Pages;
Software for JavaScript Programming;
About This Book;
The Very Basics;
About the Online Resources;
Part One: Getting Started with JavaScript;
Chapter 1: Writing Your First JavaScript Program;
1.1 Introducing Programming;
1.2 How to Add JavaScript to a Page;
1.3 Your First JavaScript Program;
1.4 Writing Text on a Web Page;
1.5 Attaching an External JavaScript File;
1.6 Tracking Down Errors;
Chapter 2: The Grammar of JavaScript;
2.1 Statements;
2.2 Built-In Functions;
2.3 Types of Data;
2.4 Variables;
2.5 Working with Data Types and Variables;
2.6 Tutorial: Using Variables to Create Messages;
2.7 Tutorial: Asking for Information;
2.8 Arrays;
2.9 Tutorial: Writing to a Web Page Using Arrays;
2.10 A Quick Object Lesson;
Chapter 3: Adding Logic and Control to Your Programs;
3.1 Making Programs React Intelligently;
3.2 Tutorial: Using Conditional Statements;
3.3 Handling Repetitive Tasks with Loops;
3.4 Functions: Turn Useful Code Into Reusable Commands;
3.5 Tutorial: A Simple Quiz;
Part Two: Getting Started with jQuery;
Chapter 4: Introducing jQuery;
4.1 About JavaScript Libraries;
4.2 Getting jQuery;
4.3 Adding jQuery to a Page;
4.4 Modifying Web Pages: An Overview;
4.5 Understanding the Document Object Model;
4.6 Selecting Page Elements: The jQuery Way;
4.7 Adding Content to a Page;
4.8 Setting and Reading Tag Attributes;
4.9 Reading, Setting, and Removing HTML Attributes;
4.10 Acting on Each Element in a Selection;
4.11 Automatic Pull Quotes;
Chapter 5: Action/Reaction: Making Pages Come Alive with Events;
5.1 What Are Events?;
5.2 Using Events the jQuery Way;
5.3 Tutorial: Introducing Events;
5.4 More jQuery Event Concepts;
5.5 Advanced Event Management;
5.6 Tutorial: A One-Page FAQ;
Chapter 6: Animations and Effects;
6.1 jQuery Effects;
6.2 Tutorial: Login Slider;
6.3 Animations;
6.4 Performing an Action After an Effect Is Completed;
6.5 Tutorial: Animated Dashboard;
Part Three: Building Web Page Features;
Chapter 7: Improving Your Images;
7.1 Swapping Images;
7.2 Tutorial: Adding Rollover Images;
7.3 Tutorial: Photo Gallery with Effects;
7.4 Advanced Gallery with jQuery FancyBox;
7.5 Tutorial: FancyBox Photo Gallery;
Chapter 8: Improving Navigation;
8.1 Some Link Basics;
8.2 Opening External Links in a New Window;
8.3 Creating New Windows;
8.4 Opening Pages in a Window on the Page;
8.5 Basic, Animated Navigation Bar;
Chapter 9: Enhancing Web Forms;
9.1 Understanding Forms;
9.2 Adding Smarts to Your Forms;
9.3 Tutorial: Basic Form Enhancements;
9.4 Form Validation;
9.5 Validation Tutorial;
Chapter 10: Expanding Your Interface;
10.1 Organizing Information in Tabbed Panels;
10.2 Adding a Content Slider to Your Site;
10.3 Determining the Size and Position of Page Elements;
10.4 Adding Tooltips;
Part Four: Ajax: Communication with the Web Server;
Chapter 11: Introducing Ajax;
11.1 What Is Ajax?;
11.2 Ajax: The Basics;
11.3 Ajax the jQuery Way;
11.4 JSON;
Chapter 12: Flickr and Google Maps;
12.1 Introducing JSONP;
12.2 Adding a Flickr Feed to Your Site;
12.3 Tutorial: Adding Flickr Images to Your Site;
12.4 Adding Google Maps to Your Site;
Part Five: Tips, Tricks, and Troubleshooting;
Chapter 13: Getting the Most from jQuery;
13.1 Useful jQuery Tips and Information;
13.2 Using the jQuery Docs;
13.3 Traversing the DOM;
13.4 More Functions For Manipulating HTML;
13.5 Advanced Event Handling;
Chapter 14: Going Further with JavaScript;
14.1 Working with Strings;
14.2 Finding Patterns in Strings;
14.3 Working with Numbers;
14.4 Dates and Times;
14.5 Putting It All Together;
14.6 Writing More Efficient JavaScript;
14.7 Creating Fast-Loading JavaScript;
Chapter 15: Troubleshooting and Debugging;
15.1 Top JavaScript Programming Mistakes;
15.2 Debugging with Firebug;
15.3 Debugging Tutorial;
JavaScript Resources;
Basic JavaScript;
Advanced JavaScript;

Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Posted September 6, 2012

    Just Right for the Job

    JavaScript & jQuery by McFarland is just right for the job of learning both JavaScript & jQuery, particularly jQuery. It is ideal for the intermediate programmer wanting to learn how to accomplish day to day tasks in these languages. Another book I’ve read, jQuery in Action, by Bear Bibeault and Yehuda Katz I would recommend for the more advanced programmer, since it gives full syntax and explanations for each command, and comes with a recommendation in the Foreword from John Resig, the creator of jQuery, as the most definitive book in print on the subject.

    JavaScript & jQuery starts out giving a nod to those with little or no experience in programming. For example, you learn that Java and JavaScript are similar in name only, but are entirely different languages. Each chapter is divided into two sections: an explanation of the topic, followed by a tutorial example, which I find a very useful way to cover the material. You learn jQuery basics, such as the selector, chaining, how to intercept both methods and properties, and animation effects. Practical matters of using form controls and Ajax are made plain. Various plug-ins are recommended for calendars, slide shows, etc. Don’t expect a reference manual, but enjoy this most useful treatment of jQuery, which has become the de-facto standard for responsive client side web solutions.

    5 out of 5 people found this review helpful.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)