Buying Options
JavaScript: The Definitive Guide, Fifth Edition
Print $49.99
Add to Cart
Print+Ebook $54.99
Add to Cart
Ebook $39.99
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £38.50
Add to Cart
What is this?
Description
The indispensable reference for JavaScript programmers since 1996, JavaScript: The Definitive Guide, 5th Edition is completely revised and expanded to cover JavaScript as it is used in today's Web 2.0 applications.
Full Description
Table of Contents
  1. Chapter 1 Introduction to JavaScript

    1. What Is JavaScript?

    2. Versions of JavaScript

    3. Client-Side JavaScript

    4. JavaScript in Other Contexts

    5. Exploring JavaScript

  2. Core JavaScript

    1. Chapter 2 Lexical Structure

      1. Character Set
      2. Case Sensitivity
      3. Whitespace and Line Breaks
      4. Optional Semicolons
      5. Comments
      6. Literals
      7. Identifiers
      8. Reserved Words
    2. Chapter 3 Datatypes and Values

      1. Numbers
      2. Strings
      3. Boolean Values
      4. Functions
      5. Objects
      6. Arrays
      7. null
      8. undefined
      9. The Date Object
      10. Regular Expressions
      11. Error Objects
      12. Type Conversion Summary
      13. Primitive Datatype Wrapper Objects
      14. Object-to-Primitive Conversion
      15. By Value Versus by Reference
    3. Chapter 4 Variables

      1. Variable Typing
      2. Variable Declaration
      3. Variable Scope
      4. Primitive Types and Reference Types
      5. Garbage Collection
      6. Variables as Properties
      7. Variable Scope Revisited
    4. Chapter 5 Expressions and Operators

      1. Expressions
      2. Operator Overview
      3. Arithmetic Operators
      4. Equality Operators
      5. Relational Operators
      6. String Operators
      7. Logical Operators
      8. Bitwise Operators
      9. Assignment Operators
      10. Miscellaneous Operators
    5. Chapter 6 Statements

      1. Expression Statements
      2. Compound Statements
      3. if
      4. else if
      5. switch
      6. while
      7. do/while
      8. for
      9. for/in
      10. Labels
      11. break
      12. continue
      13. var
      14. function
      15. return
      16. throw
      17. try/catch/finally
      18. with
      19. The Empty Statement
      20. Summary of JavaScript Statements
    6. Chapter 7 Objects and Arrays

      1. Creating Objects
      2. Object Properties
      3. Objects as Associative Arrays
      4. Universal Object Properties and Methods
      5. Arrays
      6. Reading and Writing Array Elements
      7. Array Methods
      8. Array-Like Objects
    7. Chapter 8 Functions

      1. Defining and Invoking Functions
      2. Function Arguments
      3. Functions as Data
      4. Functions as Methods
      5. Constructor Functions
      6. Function Properties and Methods
      7. Utility Function Examples
      8. Function Scope and Closures
      9. The Function() Constructor
    8. Chapter 9 Classes, Constructors, and Prototypes

      1. Constructors
      2. Prototypes and Inheritance
      3. Simulating Classes in JavaScript
      4. Common Object Methods
      5. Superclasses and Subclasses
      6. Extending Without Inheriting
      7. Determining Object Type
      8. Example: A defineClass( ) Utility Method
    9. Chapter 10 Modules and Namespaces

      1. Creating Modules and Namespaces
      2. Importing Symbols from Namespaces
      3. Module Utilities
    10. Chapter 11 Pattern Matching with Regular Expressions

      1. Defining Regular Expressions
      2. String Methods for Pattern Matching
      3. The RegExp Object
    11. Chapter 12 Scripting Java

      1. Embedding JavaScript
      2. Scripting Java
  3. Client-Side JavaScript

    1. Chapter 13 JavaScript in Web Browsers

      1. The Web Browser Environment
      2. Embedding Scripts in HTML
      3. Event Handlers in HTML
      4. JavaScript in URLs
      5. Execution of JavaScript Programs
      6. Client-Side Compatibility
      7. Accessibility
      8. JavaScript Security
      9. Other Web-Related JavaScript Embeddings
    2. Chapter 14 Scripting Browser Windows

      1. Timers
      2. Browser Location and History
      3. Obtaining Window, Screen, and Browser Information
      4. Opening and Manipulating Windows
      5. Simple Dialog Boxes
      6. Scripting the Status Line
      7. Error Handling
      8. Multiple Windows and Frames
      9. Example: A Navigation Bar in a Frame
    3. Chapter 15 Scripting Documents

      1. Dynamic Document Content
      2. Document Properties
      3. Legacy DOM: Document Object Collections
      4. Overview of the W3C DOM
      5. Traversing a Document
      6. Finding Elements in a Document
      7. Modifying a Document
      8. Adding Content to a Document
      9. Example: A Dynamically Created Table of Contents
      10. Querying Selected Text
      11. The IE 4 DOM
    4. Chapter 16 Cascading Style Sheets and Dynamic HTML

      1. Overview of CSS
      2. CSS for DHTML
      3. Scripting Inline Styles
      4. Scripting Computed Styles
      5. Scripting CSS Classes
      6. Scripting Stylesheets
    5. Chapter 17 Events and Event Handling

      1. Basic Event Handling
      2. Advanced Event Handling with DOM Level 2
      3. The Internet Explorer Event Model
      4. Mouse Events
      5. Key Events
      6. The onload Event
      7. Synthetic Events
    6. Chapter 18 Forms and Form Elements

      1. The Form Object
      2. Defining Form Elements
      3. Scripting Form Elements
      4. Form Verification Example
    7. Chapter 19 Cookies and Client-Side Persistence

      1. An Overview of Cookies
      2. Storing Cookies
      3. Reading Cookies
      4. Cookie Example
      5. Cookie Alternatives
      6. Persistent Data and Security
    8. Chapter 20 Scripting HTTP

      1. Using XMLHttpRequest
      2. XMLHttpRequest Examples and Utilities
      3. Ajax and Dynamic Scripting
      4. Scripting HTTP with <script> Tags
    9. Chapter 21 JavaScript and XML

      1. Obtaining XML Documents
      2. Manipulating XML with the DOM API
      3. Transforming XML with XSLT
      4. Querying XML with XPath
      5. Serializing XML
      6. Expanding HTML Templates with XML Data
      7. XML and Web Services
      8. E4X: ECMAScript for XML
    10. Chapter 22 Scripted Client-Side Graphics

      1. Scripting Images
      2. Graphics with CSS
      3. SVG: Scalable Vector Graphics
      4. VML: Vector Markup Language
      5. Graphics in a <canvas>
      6. Graphics with Flash
      7. Graphics with Java
    11. Chapter 23 Scripting Java Applets and Flash Movies

      1. Scripting Applets
      2. Scripting the Java Plug-in
      3. Scripting with Java
      4. Scripting Flash
      5. Scripting Flash 8
  4. Core JavaScript Reference

    1. Chapter 24 Core JavaScript Reference

  5. Client-Side JavaScript Reference

    1. Chapter 25 Client-Side JavaScript Reference

  1. Colophon

View Full Table of Contents
Product Details
Title:
JavaScript: The Definitive Guide, Fifth Edition
By:
David Flanagan
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
August 2006
Ebook Release:
December 2008
Pages:
1032
Print ISBN:
978-0-596-10199-2
| ISBN 10:
0-596-10199-6
Ebook ISBN:
978-0-596-15819-4
| ISBN 10:
0-596-15819-X
Customer Reviews
About the Author
  1. David Flanagan

    David Flanagan is a computer programmer who spends most of his time writing about JavaScript and Java. His books with O'Reilly include Java in a Nutshell, Java Examples in a Nutshell, Java Foundation Classes in a Nutshell, JavaScript: The Definitive Guide, and JavaScript Pocket Reference. David has a degree in computer science and engineering from the Massachusetts Institute of Technology. He lives with his wife and children in the U.S. Pacific Northwest bewteen the cities of Seattle, Washington and Vancouver, British Columbia. David has a blog at www.davidflanagan.com.

    View David Flanagan's full profile page.

Colophon

The animal on the cover of JavaScript: The Definitive Guide, Fifth Edition, is a Javan rhinoceros. All five species of rhinoceros are distinguished by their large size, thick armor-like skin, three-toed feet, and single or double snout horn. The Javan rhinoceros, along with the Sumatran rhinoceros, is one of two forest-dwelling species. The Javan rhinoceros is similar in appearance to the Indian rhinoceros, but smaller and with certain distinguishing characteristics (primarily skin texture).

Rhinoceroses are often depicted standing up to their snouts in water or mud. In fact, they can frequently be found just like that. When not resting in a river, rhinos will dig deep pits in which to wallow. Both of these resting places provide a couple of advantages. First, they give the animal relief from the tropical heat and protection from blood-sucking flies. (The mud that the wallow leaves on the skin of the rhinoceros provides some protection from flies, also.) Second, mud wallows and river water help support the considerable weight of these huge animals, thereby relieving the strain on their legs and backs.

Folklore has long held that the horn of the rhinoceros possesses magical and aphrodisiacal powers, and that humans who gain possession of the horns will gain those powers, also. This is one of the reasons why rhinos are a prime target of poachers. All species of rhinoceros are in danger, and the Javan rhino population is the most precarious. Fewer than 100 of these animals are still living. At one time, Javan rhinos could be found throughout southeastern Asia, but they are now believed to exist only in Indonesia and Vietnam.

The cover image is is a 19th-century engraving from the Dover Pictorial Archive. The cover font is Adobe ITC Garamond. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed.

  • Book cover of JavaScript: The Definitive Guide