Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Cover
Title Page
Table of Contents
Introduction
About This Book
Foolish Assumptions
Icons Used In This Book
Beyond the Book
Where to Go from Here
Part I: Getting Started with JavaScript
Chapter 1: The World's Most Misunderstood Programming Language
What Is JavaScript?
What Does JavaScript Do?
Why JavaScript?
Chapter 2: Writing Your First JavaScript Program
Setting Up Your Development Environment
Reading JavaScript Code
Running JavaScript in the Browser Window
Using the JavaScript Developer Console
Chapter 3: Working with Variables
Understanding Variables
Declaring Variables
Understanding Global and Local Scope
Naming Variables
Creating Constants Using the const Keyword
Working with Data Types
Chapter 4: Understanding Arrays
Making a List
Array Fundamentals
Creating Arrays
Populating Arrays
Understanding Multidimensional Arrays
Accessing Array Elements
Chapter 5: Working with Operators, Expressions, and Statements
Express Yourself
Hello, Operator
Types of Operators
Chapter 6: Getting into the Flow with Loops and Branches
Branching Out
Here We Go: Loop De Loop
Part II: Organizing Your JavaScript
Chapter 7: Getting Functional
Understanding the Function of Functions
Using Function Terminology
The Benefits of Using Functions
Writing Functions
Returning Values
Passing and Using Arguments
Function Scope
Anonymous Function
Do it Again with Recursion
Functions within Functions
Chapter 8: Making and Using Objects
Object of My Desire
Creating Objects
Retrieving and Setting Object Properties
Deleting Properties
Working with Methods
An Object-Oriented Way to Become Wealthy: Inheritance
Part III: JavaScript on the Web
Chapter 9: Controlling the Browser with the Window Object
Understanding the Browser Environment
Chapter 10: Manipulating Documents with the DOM
Understanding the DOM
Node Relationships
Using the Document Object's Properties and Methods
Using the Element Object’s Properties and Methods
Working with the Contents of Elements
Getting Elements by ID, Tag Name, or Class
Using the Attribute Object’s Properties
Chapter 11: Using Events in JavaScript
Knowing Your Events
Handling Events
Chapter 12: Integrating Input and Output
Understanding HTML Forms
Working with the Form Object
Chapter 13: Working with CSS and Graphics
Using the Style Object
Animating Elements with the Style Object
Working with Images
Using the Style Object’s Animation Properties
Part IV: Beyond the Basics
Chapter 14: Searching with Regular Expressions
Finding It Out with Regular Expressions
Writing Regular Expressions
Using Modifiers
Coding with Regular Expressions
Chapter 15: Understanding Callbacks and Closures
What Are Callbacks?
Understanding Closures
Using Closures
Chapter 16: Embracing AJAX and JSON
Working Behind the Scenes with AJAX
Putting Objects in Motion with JSON
Part V: JavaScript and HTML5
Chapter 17: HTML5 APIs
Understanding How APIs Work
Using Geolocation
Accessing Audio and Video
Chapter 18: jQuery
Writing More and Doing Less
Getting Started with jQuery
The jQuery Object
Is Your Document Ready?
Using jQuery Selectors
Changing Things with jQuery
Events
Effects
AJAX
Part VI: The Part of Tens
Chapter 19: Ten JavaScript Frameworks and Libraries to Learn Next
Angular JS
Backbone.js
Ember.js
Famo.us
Knockout
QUnit
underscore.js
Modernizr
Handlebars.js
jQuery
Chapter 20: Ten Common JavaScript Bugs and How to Avoid Them
Equality Confusion
Mismatched Brackets
Mismatched Quotes
Missing Parentheses
Missing Semicolon
Capitalization Errors
Referencing Code Before It’s Loaded
Bad Variable Names
Scope Errors
Missing Parameters in Function Calls
Counting Errors: Forgetting That JavaScript Counts from 0
Chapter 21: Ten Online Tools to Help You Write Better JavaScript
JSLint
JSFiddle.net
JSBin
javascriptcompressor.com
jsbeautifier.org
JavaScript RegEx generator
JSONformatter
jshint.com
Mozilla Developer Network
Douglas Crockford
About the Authors
Cheat Sheet
Connect with Dummies
End User License Agreement
← Prev
Back
Next →
← Prev
Back
Next →