- Chapter 1: What is JavaScript?
JavaScript is a
cross-platform, object-oriented scripting language. JavaScript is a
small, lightweight language, it is not useful as a standalone l...
- Chapter 2: Testing your Visitor's Browser
The navigator
object is used to get information about the browser your visitors are
using. Because some browsers can not deal with certain things (...
- Chapter 3: Setting up Variables in JavaScript
To create a
variable, the var keyword precedes the variable name, and is used only
once for declaration. All future references to the variable are ...
- Chapter 4: Javascript Conditional Statements
Making decisions
is an integral part of any programming language, including JavaScript.
They allow your programs to choose from alternative actions...
- Chapter 5: JavaScript Loops
Loops execute a
block of code a specified number of times, or while a specified
condition is true. A loop is something that goes round and round.
- Chapter 6: Arrays!
An array is a
variable that holds more than one number, or more than one string.
Basically an array object is used to store multiple values in a si...
- Chapter 7: Javascript Events and Functions
To keep the
browser from executing a script when the page loads, you can put your
script into a function. A function contains code that will be exe...
- Chapter 8: JavaScript Form Validation
JavaScript can
be used to validate data in HTML forms before sending off the content to
a server. Form validation can help to reduce the amount of ...