Free Trial

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


If you're new to JavaScript, or an experienced web developer looking to improve your skills, Learning JavaScript provides you with complete, no-nonsense coverage of this quirky yet essential language for web development. You'll learn everything from primitive data types to complex features, including JavaScript elements involved with Ajax and dynamic page effects. By the end of the book, you'll be able to work with even the most sophisticated libraries and web applications. Complete with best practices and examples of JavaScript use, this new edition shows you how to integrate the language with the browser environment, and how to practice proper coding techniques for standards-compliant websites. This book will help you:

  • Learn the JavaScript application structure, including basic statements and control structures

  • Identify JavaScript objects -- String, Number, Boolean, Function, and more

  • Use browser debugging tools and troubleshooting techniques

  • Understand event handling, form events, and JavaScript applications with forms

  • Develop with the Browser Object Model, the Document Object Model, and custom objects you create

  • Learn about browser cookies and more modern client-side storage techniques

  • Get details for using XML or JSON with Ajax applications

Learning JavaScript follows proven learning principles to help you absorb the concepts at an easy pace, so you'll learn how to create powerful and responsive applications in any browser.

Subscriber Reviews

Average Rating: 4 out of 5 rating Based on 7 Ratings

No Subscribers have provided a review for this book.

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Learning JavaScript, 2nd Edition

  • Catalog Page

Visit the errata page for Learning JavaScript, 2nd Edition

  • Errata

Download the supplemental electronic content for Learning JavaScript, 2nd Edition

  • Supplemental Content