Learn JavaScript programming the easy way, through hundreds of classroom tested, hands-on examples Covers everything from JavaScript basics to advanced topics including the Document Object Model, Cascading Style Sheets, and Regular Expressions By best-selling author Ellie Quigley, Silicon Valley's top scripting language instructor!! Learn JavaScript now, from the world's #1 scripting author and instructor! In JavaScript by Example, Ellie Quigley teaches JavaScript using the same proven approach that's made her the world's favorite scripting author and instructor. This book's unique and classroom-tested learning path contains hundreds of small, easy-to-understand examples that demonstrate the full range of JavaScript's power. One step at a time, Quigley guides new JavaScript programmers through every essential technique, from script setup to advanced DOM and CSS programming. Coverage includes: Data types, literals, and variables Operators, control structures, and functions Building dialog boxes and working with JavaScript objects using the Browser object: navigator, windows, frames, dynamic images, and links Event handling, regular expressions, and form validation The JavaScript Document Object Model (DOM), Cascading Style Sheets, and Dynamic HTML CD-ROM contains an electronic JavaScript reference PLUS all source code and data files used in the book. Whether you're a first-time or long-time scripter, a Web professional or sysadmin, Ellie Quigley will help you write rock-solid JavaScripts that get the job done. Praise for Quigley's books UNIX Shells by Example for both novice and experienced programmers. For once, somebody has written a computer book that is down-to-earth, clear, and replete with examples. -Nick Main, Software Engineer
Show moreLearn JavaScript programming the easy way, through hundreds of classroom tested, hands-on examples Covers everything from JavaScript basics to advanced topics including the Document Object Model, Cascading Style Sheets, and Regular Expressions By best-selling author Ellie Quigley, Silicon Valley's top scripting language instructor!! Learn JavaScript now, from the world's #1 scripting author and instructor! In JavaScript by Example, Ellie Quigley teaches JavaScript using the same proven approach that's made her the world's favorite scripting author and instructor. This book's unique and classroom-tested learning path contains hundreds of small, easy-to-understand examples that demonstrate the full range of JavaScript's power. One step at a time, Quigley guides new JavaScript programmers through every essential technique, from script setup to advanced DOM and CSS programming. Coverage includes: Data types, literals, and variables Operators, control structures, and functions Building dialog boxes and working with JavaScript objects using the Browser object: navigator, windows, frames, dynamic images, and links Event handling, regular expressions, and form validation The JavaScript Document Object Model (DOM), Cascading Style Sheets, and Dynamic HTML CD-ROM contains an electronic JavaScript reference PLUS all source code and data files used in the book. Whether you're a first-time or long-time scripter, a Web professional or sysadmin, Ellie Quigley will help you write rock-solid JavaScripts that get the job done. Praise for Quigley's books UNIX Shells by Example for both novice and experienced programmers. For once, somebody has written a computer book that is down-to-earth, clear, and replete with examples. -Nick Main, Software Engineer
Show more
Preface.
Acknowledgments.
1. Introduction to JavaScript.
What JavaScript Is. What JavaScript Is Not. What JavaScript Is Used
For. JavaScript and Events. What Versions? What Browsers? Where to
Put JavaScript. JavaScript and Old or Disabled Browsers. JavaScript
from External Files. Exercises.
2. Script Setup.
The HTML Document and JavaScript. Syntactical Details. Generating
HTML and Printing Output. About Debugging. Exercises.
3. The Building Blocks: Data Types, Literals, and
Variables.
Data Types. Variables. Bugs to Watch For. Exercises.
4. Dialog Boxes.
Interacting with the User. Exercises.
5. Operators.
About JavaScript Operators and Expressions. Types of Operators.
Number, String, or Boolean? Datatype Conversion. Special Operators.
Exercises.
6. Under Certain Conditions. Exercises. Control Structures,
Blocks, and Compound Statements. Conditionals. Loops.
Exercises.
7. Functions.
What Is a Function? Debugging. Exercises.
8. Objects.
What Are Objects? User-Defined Objects. Manipulating Objects.
Exercises.
9. JavaScript Core Objects.
What Are Core Objects? Array Objects. Array Properties and Methods.
The Date Object. The Math Object. What Is a Wrapper Object?
Exercises.
10. The Browser Objects: Navigator, Windows, and Frames.
JavaScript and the Browser Object Model. Exercises.
11. The Document Objects: Forms, Images, and Links.
The Document Object Model. Introduction to Forms. Introduction to
Images. Introduction to Links. Exercises.
12. Handling Events.
Introduction to Event Handlers. Event Handlers as JavaScript
Methods. Handling a Window or Frame Event. Handling Mouse Events.
Handling Link Events. Handling a Form Event. Handling Key Events:
onKeyPress, onKeyDown, and onKeyUp. Handling Error Events. The
event Object. Exercises.
13. Regular Expressions and Pattern Matching.
What Is a Regular Expression? Creating a Regular Expression.
Getting Control—The Metacharacters. Form Validation with Regular
Expressions. Exercises.
14. Cookies.
What Are Cookies? Creating a Cookie with JavaScript. Exercises.
15. Dynamic HTML: Style Sheets, the DOM, and JavaScript.
What Is Dynamic HTML? What Is a Style Sheet? Types of Style Sheets.
Where Does JavaScript Fit In? Exercises.
A. JavaScript Web Resources.
B. HTML Documents: A Basic Introduction.
Intro to the Intro. What Is HTML? HTML Tags. The Minimal HTML
Document. Character Formatting. Linking. Adding Comments. Case
Sensitivity. Graphics and Images. Troubleshooting. Metatags,
Cascading Style Sheets, and Java. Looking Behind the Scenes (or,
What Did We Do Before the Right-Click?). What About Frames? Some
Final Thoughts.
C. CGI and Perl: They Hyper Dynamic Duo.
What Is CGI? Internet Communication Between Client and Server.
Creating a Web Page with HTML. How HTML and CGI Work Together. Log
Files. Where to Find CGI Applications. Getting Information Into and
Out of the CGI Script. Processing Forms with CGI. The CGI.pm
Module. Exercise C.1. Exercise C.2.
Index.
Preface. Acknowledgments. 1. Introduction to JavaScript. What JavaScript Is. What JavaScript Is Not. What JavaScript Is Used For. JavaScript and Events. What Versions? What Browsers? Where to Put JavaScript. JavaScript and Old or Disabled Browsers. JavaScript from External Files. Exercises. 2. Script Setup. The HTML Document and JavaScript. Syntactical Details. Generating HTML and Printing Output. About Debugging. Exercises. 3. The Building Blocks: Data Types, Literals, and Variables. Data Types. Variables. Bugs to Watch For. Exercises. 4. Dialog Boxes. Interacting with the User. Exercises. 5. Operators. About JavaScript Operators and Expressions. Types of Operators. Number, String, or Boolean? Datatype Conversion. Special Operators. Exercises. 6. Under Certain Conditions. Exercises. Control Structures, Blocks, and Compound Statements. Conditionals. Loops. Exercises. 7. Functions. What Is a Function? Debugging. Exercises. 8. Objects. What Are Objects? User-Defined Objects. Manipulating Objects. Exercises. 9. JavaScript Core Objects. What Are Core Objects? Array Objects. Array Properties and Methods. The Date Object. The Math Object. What Is a Wrapper Object? Exercises. 10. The Browser Objects: Navigator, Windows, and Frames. JavaScript and the Browser Object Model. Exercises. 11. The Document Objects: Forms, Images, and Links. The Document Object Model. Introduction to Forms. Introduction to Images. Introduction to Links. Exercises. 12. Handling Events. Introduction to Event Handlers. Event Handlers as JavaScript Methods. Handling a Window or Frame Event. Handling Mouse Events. Handling Link Events. Handling a Form Event. Handling Key Events: onKeyPress, onKeyDown, and onKeyUp. Handling Error Events. The event Object. Exercises. 13. Regular Expressions and Pattern Matching. What Is a Regular Expression? Creating a Regular Expression. Getting Control--The Metacharacters. Form Validation with Regular Expressions. Exercises. 14. Cookies. What Are Cookies? Creating a Cookie with JavaScript. Exercises. 15. Dynamic HTML: Style Sheets, the DOM, and JavaScript. What Is Dynamic HTML? What Is a Style Sheet? Types of Style Sheets. Where Does JavaScript Fit In? Exercises. A. JavaScript Web Resources. B. HTML Documents: A Basic Introduction. Intro to the Intro. What Is HTML? HTML Tags. The Minimal HTML Document. Character Formatting. Linking. Adding Comments. Case Sensitivity. Graphics and Images. Troubleshooting. Metatags, Cascading Style Sheets, and Java. Looking Behind the Scenes (or, What Did We Do Before the Right-Click?). What About Frames? Some Final Thoughts. C. CGI and Perl: They Hyper Dynamic Duo. What Is CGI? Internet Communication Between Client and Server. Creating a Web Page with HTML. How HTML and CGI Work Together. Log Files. Where to Find CGI Applications. Getting Information Into and Out of the CGI Script. Processing Forms with CGI. The CGI.pm Module. Exercise C.1. Exercise C.2. Index.
![]() |
Ask a Question About this Product More... |
![]() |