Murach's JavaScript and DOM Scripting
How to code a JavaScript application
In this chapter, you’ll learn how to code your first JavaScript
applications that get input, do calculations, and display
output. That will get you off to a fast start and give you
the perspective you need for learning rapidly in subsequent
chapters. To see how well this book works, you can download
this chapter and try it out for yourself.
|
|
|
|
How to edit a web page with Notepad++ |
44 |
|
How to test a web page |
46 |
|
How to display error messages
in Firefox |
48 |
|
|
How to include JavaScript with
the script tag |
50 |
|
How to code JavaScript statements |
52 |
|
How to create identifiers |
54 |
|
The primitive data types of JavaScript |
56 |
|
How to code numeric and string
expressions |
58 |
|
How to declare variables and assign
values to them |
60 |
|
|
An introduction to objects, properties
and methods |
62 |
|
How to use the window and document
objects |
64 |
|
How to use the Number, String,
and Date objects |
66 |
|
How to get and display data with
a Textbox object |
68 |
|
|
How to code conditional expressions |
70 |
|
How to code if statements |
72 |
|
How to code while and for statements |
74 |
|
|
How to create and call a function |
76 |
|
How to code an event handler |
78 |
|
|
The XHTML code |
80 |
|
The JavaScript code |
82 |
|
|
|
|
|
|
© Copyright 1998-
Mike Murach & Associates, Inc. All rights reserved.
|