Skip to content

JavaScript

Best in textbook rentals since 2012!

ISBN-10: 0596101996

ISBN-13: 9780596101992

Edition: 5th 2006 (Revised)

Authors: David Flanagan

List price: $49.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

This Fifth Edition is completely revised and expanded to cover JavaScript as it is used in today's Web 2.0 applications. This book is both an example-driven programmer's guide and a keep-on-your-desk reference, with new chapters that explain everything you need to know to get the most out of JavaScript, including: Scripted HTTP and Ajax XML processing Client-side graphics using the tag Namespaces in JavaScript--essential when writing complex programs Classes, closures, persistence, Flash, and JavaScript embedded in Java applications Part I explains the core JavaScript language in detail. If you are new to JavaScript, it will teach you the language. If you are already a JavaScript…    
Customers also bought

Book details

List price: $49.99
Edition: 5th
Copyright year: 2006
Publisher: O'Reilly Media, Incorporated
Publication date: 8/27/2006
Binding: Paperback
Pages: 1032
Size: 7.00" wide x 9.00" long x 1.50" tall
Weight: 2.992

David Flanagan graduated from the Massachusetts Institute of Technology. He is a consulting computer programmer, user interface designer and trainer. His books include X Toolkit Intrinsics Reference Manual and Motif Tools: Streamlined GUI Design and Programming with the Xmt Library.

Preface
Introduction to JavaScript
What Is JavaScript?
Versions of JavaScript
Client-Side JavaScript
JavaScript in Other Contexts
Exploring JavaScript
Core JavaScript
Lexical Structure
Character Set
Case Sensitivity
Whitespace and Line Breaks
Optional Semicolons
Comments
Literals
Identifiers
Reserved Words
Datatypes and Values
Numbers
Strings
Boolean Values
Functions
Objects
Arrays
null
undefined
The Date Object
Regular Expressions
Error Objects
Type Conversion Summary
Primitive Datatype Wrapper Objects
Object-to-Primitive Conversion
By Value Versus by Reference
Variables
Variable Typing
Variable Declaration
Variable Scope
Primitive Types and Reference Types
Garbage Collection
Variables as Properties
Variable Scope Revisited
Expressions and Operators
Expressions
Operator Overview
Arithmetic Operators
Equality Operators
Relational Operators
String Operators
Logical Operators
Bitwise Operators
Assignment Operators
Miscellaneous Operators
Statements
Expression Statements
Compound Statements
if
else if
switch
while
do/while
for
for/in
Labels
break
continue
var
function
return
throw
try/catch/finally
with
The Empty Statement
Summary of JavaScript Statements
Objects and Arrays
Creating Objects
Object Properties
Objects as Associative Arrays
Universal Object Properties and Methods
Arrays
Reading and Writing Array Elements
Array Methods
Array-Like Objects
Functions
Defining and Invoking Functions
Function Arguments
Functions as Data
Functions as Methods
Constructor Functions
Function Properties and Methods
Utility Function Examples
Function Scope and Closures
The Function() Constructor
Classes, Constructors, and Prototypes
Constructors
Prototypes and Inheritance
Simulating Classes in JavaScript
Common Object Methods
Superclasses and Subclasses
Extending Without Inheriting
Determining Object Type
Example: A defineClass() Utility Method
Modules and Namespaces
Creating Modules and Namespaces
Importing Symbols from Namespaces
Module Utilities
Pattern Matching with Regular Expressions
Defining Regular Expressions
String Methods for Pattern Matching
The RegExp Object
Scripting Java
Embedding JavaScript
Scripting Java
Client-Side JavaScript
JavaScript in Web Browsers
The Web Browser Environment
Embedding Scripts in HTML
Event Handlers in HTML
JavaScript in URLs
Execution of JavaScript Programs
Client-Side Compatibility
Accessibility
JavaScript Security
Other Web-Related JavaScript Embeddings
Scripting Browser Windows
Timers
Browser Location and History
Obtaining Window, Screen, and Browser Information
Opening and Manipulating Windows
Simple Dialog Boxes
Scripting the Status Line
Error Handling
Multiple Windows and Frames
Example: A Navigation Bar in a Frame
Scripting Documents
Dynamic Document Content
Document Properties
Legacy DOM: Document Object Collections
Overview of the W3C DOM
Traversing a Document
Finding Elements in a Document
Modifying a Document
Adding Content to a Document
Example: A Dynamically Created Table of Contents
Querying Selected Text
The IE 4 DOM
Cascading Style Sheets and Dynamic HTML
Overview of CSS
CSS for DHTML
Scripting Inline Styles
Scripting Computed Styles
Scripting CSS Classes
Scripting Stylesheets
Events and Event Handling
Basic Event Handling
Advanced Event Handling with DOM Level 2
The Internet Explorer Event Model
Mouse Events
Key Events
The onload Event
Synthetic Events
Forms and Form Elements
The Form Object
Defining Form Elements
Scripting Form Elements
Form Verification Example
Cookies and Client-Side Persistence
An Overview of Cookies
Storing Cookies
Reading Cookies
Cookie Example
Cookie Alternatives
Persistent Data and Security
Scripting HTTP
Using XMLHttpRequest
XMLHttpRequest Examples and Utilities
Ajax and Dynamic Scripting
Scripting HTTP with [left angle bracket]script[right angle bracket] Tags
JavaScript and XML
Obtaining XML Documents
Manipulating XML with the DOM API
Transforming XML with XSLT
Querying XML with XPath
Serializing XML
Expanding HTML Templates with XML Data
XML and Web Services
E4X: ECMAScript for XML
Scripted Client-Side Graphics
Scripting Images
Graphics with CSS
SVG: Scalable Vector Graphics
VML: Vector Markup Language
Graphics in a [left angle bracket]canvas[right angle bracket]
Graphics with Flash
Graphics with Java
Scripting Java Applets and Flash Movies
Scripting Applets
Scripting the Java Plug-in
Scripting with Java
Scripting Flash
Scripting Flash 8
Core JavaScript Reference
Core JavaScript Reference
Client-Side JavaScript Reference
Client-Side JavaScript Reference
Index