JavaScript: The Definitive Guide: Activate Your Web Pages

( 2 )


Since 1996, JavaScript: The Definitive Guide has been the bible for JavaScript programmers—a programmer's guide and comprehensive reference to the core language and to the client-side JavaScript APIs defined by web browsers.

The 6th edition covers HTML5 and ECMAScript 5. Many chapters have been completely rewritten to bring them in line with today's best web development practices. New chapters in this edition document jQuery and server side JavaScript. It's recommended for ...

See more details below
Paperback (Sixth Edition)
$33.76 price
(Save 32%)$49.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (28) from $19.99   
  • New (15) from $28.22   
  • Used (13) from $19.99   
JavaScript: The Definitive Guide: Activate Your Web Pages

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • 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)
$22.99 price
(Save 42%)$39.99 List Price


Since 1996, JavaScript: The Definitive Guide has been the bible for JavaScript programmers—a programmer's guide and comprehensive reference to the core language and to the client-side JavaScript APIs defined by web browsers.

The 6th edition covers HTML5 and ECMAScript 5. Many chapters have been completely rewritten to bring them in line with today's best web development practices. New chapters in this edition document jQuery and server side JavaScript. It's recommended for experienced programmers who want to learn the programming language of the Web, and for current JavaScript programmers who want to master it.

"A must-have reference for expert JavaScript programmers...well-organized and detailed."
—Brendan Eich, creator of JavaScript, CTO of Mozilla

"I made a career of what I learned from JavaScript: The Definitive Guide.”
—Andrew Hedges, Tapulous

Read More Show Less

Product Details

  • ISBN-13: 9780596805524
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 5/10/2011
  • Edition description: Sixth Edition
  • Edition number: 6
  • Pages: 1096
  • Sales rank: 136,914
  • Product dimensions: 7.00 (w) x 9.10 (h) x 2.50 (d)

Meet the Author

David Flanagan is a programmer and writer with a website at His other O'Reilly books include JavaScript Pocket Reference, The Ruby Programming Language, and Java in a Nutshell. David has a degree in computer science and engineering from the Massachusetts Institute of Technology. He lives with his wife and children in the Pacific Northwest between the cities of Seattle, Washington, and Vancouver, British Columbia.

Read More Show Less

Table of Contents

Conventions Used in This Book;
Example Code;
Errata and How to Contact Us;
Chapter 1: Introduction to JavaScript;
1.1 Core JavaScript;
1.2 Client-Side JavaScript;
Core JavaScript;
Chapter 2: Lexical Structure;
2.1 Character Set;
2.3 Literals;
2.4 Identifiers and Reserved Words;
2.5 Optional Semicolons;
Chapter 3: Types, Values, and Variables;
3.1 Numbers;
3.2 Text;
3.3 Boolean Values;
3.4 null and undefined;
3.5 The Global Object;
3.6 Wrapper Objects;
3.7 Immutable Primitive Values and Mutable Object References;
3.8 Type Conversions;
3.9 Variable Declaration;
3.10 Variable Scope;
Chapter 4: Expressions and Operators;
4.1 Primary Expressions;
4.2 Object and Array Initializers;
4.3 Function Definition Expressions;
4.4 Property Access Expressions;
4.5 Invocation Expressions;
4.6 Object Creation Expressions;
4.7 Operator Overview;
4.8 Arithmetic Expressions;
4.9 Relational Expressions;
4.10 Logical Expressions;
4.11 Assignment Expressions;
4.12 Evaluation Expressions;
4.13 Miscellaneous Operators;
Chapter 5: Statements;
5.1 Expression Statements;
5.2 Compound and Empty Statements;
5.3 Declaration Statements;
5.4 Conditionals;
5.5 Loops;
5.6 Jumps;
5.7 Miscellaneous Statements;
5.8 Summary of JavaScript Statements;
Chapter 6: Objects;
6.1 Creating Objects;
6.2 Querying and Setting Properties;
6.3 Deleting Properties;
6.4 Testing Properties;
6.5 Enumerating Properties;
6.6 Property Getters and Setters;
6.7 Property Attributes;
6.8 Object Attributes;
6.9 Serializing Objects;
6.10 Object Methods;
Chapter 7: Arrays;
7.1 Creating Arrays;
7.2 Reading and Writing Array Elements;
7.3 Sparse Arrays;
7.4 Array Length;
7.5 Adding and Deleting Array Elements;
7.6 Iterating Arrays;
7.7 Multidimensional Arrays;
7.8 Array Methods;
7.9 ECMAScript 5 Array Methods;
7.10 Array Type;
7.11 Array-Like Objects;
7.12 Strings As Arrays;
Chapter 8: Functions;
8.1 Defining Functions;
8.2 Invoking Functions;
8.3 Function Arguments and Parameters;
8.4 Functions As Values;
8.5 Functions As Namespaces;
8.6 Closures;
8.7 Function Properties, Methods, and Constructor;
8.8 Functional Programming;
Chapter 9: Classes and Modules;
9.1 Classes and Prototypes;
9.2 Classes and Constructors;
9.3 Java-Style Classes in JavaScript;
9.4 Augmenting Classes;
9.5 Classes and Types;
9.6 Object-Oriented Techniques in JavaScript;
9.7 Subclasses;
9.8 Classes in ECMAScript 5;
9.9 Modules;
Chapter 10: Pattern Matching with Regular Expressions;
10.1 Defining Regular Expressions;
10.2 String Methods for Pattern Matching;
10.3 The RegExp Object;
Chapter 11: JavaScript Subsets and Extensions;
11.1 JavaScript Subsets;
11.2 Constants and Scoped Variables;
11.3 Destructuring Assignment;
11.4 Iteration;
11.5 Shorthand Functions;
11.6 Multiple Catch Clauses;
11.7 E4X: ECMAScript for XML;
Chapter 12: Server-Side JavaScript;
12.1 Scripting Java with Rhino;
12.2 Asynchronous I/O with Node;
Client-Side JavaScript;
Chapter 13: JavaScript in Web Browsers;
13.1 Client-Side JavaScript;
13.2 Embedding JavaScript in HTML;
13.3 Execution of JavaScript Programs;
13.4 Compatibility and Interoperability;
13.5 Accessibility;
13.6 Security;
13.7 Client-Side Frameworks;
Chapter 14: The Window Object;
14.1 Timers;
14.2 Browser Location and Navigation;
14.3 Browsing History;
14.4 Browser and Screen Information;
14.5 Dialog Boxes;
14.6 Error Handling;
14.7 Document Elements As Window Properties;
14.8 Multiple Windows and Frames;
Chapter 15: Scripting Documents;
15.1 Overview of the DOM;
15.2 Selecting Document Elements;
15.3 Document Structure and Traversal;
15.4 Attributes;
15.5 Element Content;
15.6 Creating, Inserting, and Deleting Nodes;
15.7 Example: Generating a Table of Contents;
15.8 Document and Element Geometry and Scrolling;
15.9 HTML Forms;
15.10 Other Document Features;
Chapter 16: Scripting CSS;
16.1 Overview of CSS;
16.2 Important CSS Properties;
16.3 Scripting Inline Styles;
16.4 Querying Computed Styles;
16.5 Scripting CSS Classes;
16.6 Scripting Stylesheets;
Chapter 17: Handling Events;
17.1 Types of Events;
17.2 Registering Event Handlers;
17.3 Event Handler Invocation;
17.4 Document Load Events;
17.5 Mouse Events;
17.6 Mousewheel Events;
17.7 Drag and Drop Events;
17.8 Text Events;
17.9 Keyboard Events;
Chapter 18: Scripted HTTP;
18.1 Using XMLHttpRequest;
18.2 HTTP by : JSONP;
18.3 Comet with Server-Sent Events;
Chapter 19: The jQuery Library;
19.1 jQuery Basics;
19.2 jQuery Getters and Setters;
19.3 Altering Document Structure;
19.4 Handling Events with jQuery;
19.5 Animated Effects;
19.6 Ajax with jQuery;
19.7 Utility Functions;
19.8 jQuery Selectors and Selection Methods;
19.9 Extending jQuery with Plug-ins;
19.10 The jQuery UI Library;
Chapter 20: Client-Side Storage;
20.1 localStorage and sessionStorage;
20.2 Cookies;
20.3 IE userData Persistence;
20.4 Application Storage and Offline Webapps;
Chapter 21: Scripted Media and Graphics;
21.1 Scripting Images;
21.2 Scripting Audio and Video;
21.3 SVG: Scalable Vector Graphics;
21.4 Graphics in a <canvas>;
Chapter 22: HTML5 APIs;
22.1 Geolocation;
22.2 History Management;
22.3 Cross-Origin Messaging;
22.4 Web Workers;
22.5 Typed Arrays and ArrayBuffers;
22.6 Blobs;
22.7 The Filesystem API;
22.8 Client-Side Databases;
22.9 Web Sockets;
Core JavaScript Reference;
Client-Side JavaScript Reference;

Read More Show Less

Customer Reviews

Average Rating 5
( 2 )
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 all of 2 Customer Reviews
  • Anonymous

    Posted July 28, 2011

    No text was provided for this review.

  • Anonymous

    Posted July 15, 2013

    No text was provided for this review.

Sort by: Showing all of 2 Customer Reviews

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