Table of Contents | Previous | Next | Index

Client-Specific Features

Chapter 9   Embedding JavaScript in HTML

You can embed JavaScript in an HTML document as statements and functions within a <SCRIPT> tag, by specifying a file as the JavaScript source, by specifying a JavaScript expression as the value of an HTML attribute, or as event handlers within certain other HTML tags (primarily form elements).

Chapter 10   Handling Events

JavaScript applications in Navigator are largely event-driven. Events are actions that usually occur as a result of something the user does. For example, clicking a button is an event, as is changing a text field or moving the mouse over a link. For your script to react to an event, you define event handlers, such as onChange and onClick.

Chapter 11   Using Navigator Objects

This chapter describes JavaScript objects in Navigator and explains how to use them. These client-side JavaScript objects are sometimes referred to as Navigator objects, to distinguish them from server-side objects or user-defined objects.

Chapter 12   Using Windows and Frames

JavaScript lets you create and manipulate windows and frames for presenting HTML content. The window object is the top-level object in the JavaScript client hierarchy; Frame objects are similar to window objects, but correspond to "sub-windows" created with the FRAME tag in a FRAMESET document.

Chapter 13   Additional Topics

This chapter describes some special concepts and applications that extend the power and flexibility of JavaScript.

Chapter 14   JavaScript Security

JavaScript automatically prevents scripts on one server from accessing properties of documents on a different server. This restriction prevents scripts from fetching private information such as directory structures or user session history. This chapter describes the security models available in various releases of JavaScript.

Table of Contents | Previous | Next | Index

Last Updated: 05/27/99 21:21:32

Copyright (c) 1999 Netscape Communications Corporation