Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


JavaScript is essential for creating modern, interactive Web sites. But, unlike HTML and CSS, JavaScript is a true programming language with complex rules that are challenging for most Web designers to learn. In JavaScript: The Missing Manual, bestselling author David McFarland teaches you how to use JavaScript in sophisticated ways -- even if you have little or no programming experience. In a clear, entertaining way, the book starts out by teaching you how to build a basic JavaScript program. Then, once you've mastered the structure and terminology, you'll learn how to use advanced JavaScript tools to add useful interactivity to your sites quickly and painlessly, rather than scripting everything from scratch. To jump-start your progress, the book offers several "living examples" -- step-by-step tutorials for building Web site components with JavaScript using raw materials, such as graphics and half-completed Web pages, that you can download from the book's companion Web site. In this book, you will learn:

  • How to get started. The book introduces the building blocks of JavaScript, and general tips on computer programming. Learn to add scripts to a Web page; store and manipulate information; communicate with the browser window; respond to events like mouse clicks and form submissions; and identify and modify HTML.

  • How to build Web Page Features. McFarland provides real-world examples of JavaScript in action. Learn to create pop-up navigation bars, enhance HTML tables, build an interactive photo gallery, and make Web forms more usable. Create interesting user interfaces with tabbed panels, accordion panels and pop-up dialog boxes.

  • How to troubleshoot and debug. The book will teach you how to avoid the ten most common errors new programmers make, and how to find and fix bugs.

  • How to communicate with the Web server. In addition to basic JavaScript, this manual covers Ajax, the approach that made JavaScript glamorous. Learn to use JavaScript to communicate with a server so that your Web pages can receive information without having to reload.

If you want to put JavaScript to work right away without getting tangled up in code, JavaScript: The Missing Manual is the best book available.

Subscriber Reviews

Average Rating: 3 out of 5 rating Based on 1 Rating

"JavaScrip: The Missing Manual, 1st Edition" - by Anonymous on 27-MAY-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The title of this book should be JQuery: The Missing Manual instead of JavaScript.  Book was mostly about using JQuery.
Report as Inappropriate


The publisher has provided additional content related to this title.


Visit the catalog page for JavaScript: The Missing Manual

  • Catalog Page

Visit the errata page for JavaScript: The Missing Manual

  • Errata

Download the supplemental electronic content for JavaScript: The Missing Manual

  • Supplemental Content