CSE3325 : Javascript, Part 3

In the previous lecture:

In this lecture:


Same as the previous lecture:


Using JavaScript

  1. Insert JavaScript code between <SCRIPT> and </SCRIPT> tags to be run as the document is loaded.

  2. Use the <SCRIPT> and </SCRIPT> tags to reference a JavaScript .js file

  3. Define event handlers

  4. Define Timer Events

JavaScript Windows

JavaScript Object Hierarchy

JavaScript Examples

These simple examples illustrate some of the ways JavaScript can be used. From simple building blocks, medium programs can be built for all kinds of purposes.

Web Examples:

This lecture's key point(s):

CSE3325 courseware | CSE3325 lecture notes

©Copyright Alan Dorin & Jon McCormack 1999,2000