The JavaScript Language


JavaScript is a compact, object-based scripting language for developing client and server Internet applications. Netscape Navigator 2.0 interprets JavaScript statements embedded directly in an HTML page, and LiveWire enables you to create server-based applications similar to common gateway interface (CGI) programs. In a client application for Navigator, JavaScript statements embedded in an HTML page can recognize and respond to user events such as mouse clicks, form input, and page navigation. For example, you can write a JavaScript function to verify that users enter valid information into a form requesting a telephone number or zip code. Without any network transmission, an HTML page with embedded JavaScript can interpret the entered text and alert the user with a message dialog if the input is invalid. Or you can use JavaScript to perform an action (such as play an audio file, execute an applet, or communicate with a plug-in) in response to the user opening or exiting a page.

 

1.JavaScript Basics

Introduction
Navigator Scripting
Navigator Objects


2.Language Concepts

Values, Names, Literals
Expressions, Operators
Object Model
Statements Overview


3.Further Programming - Part I

Information in the statusbar
Date object
Creating random numbers
Working with windows

4.Further Programming - Part II

The statusbar
The setTimeout function
Programming a scroller

5.Further Programming - Part III

Arrays
How to clear a document
Back and Forward- buttons


6.Further Programming - Part IV

Validating forms
Submitting form input
How to set the focus to a certain element