User Tools

Site Tools


js

JavaScript

This lecture covers the JavaScript language that allows us to process information at the client side. The program is created at the server end and travels embedded in the sent document but it runs on the client machine.

Outline

  • The HTML/JavaScript Linkage
  • User-Agent versus the Scripting Engine
  • Language Elements
  • Native versus Host Objects

To Do

  • Read Chapter 4 plus Section 7.4
  • Complete the development of date.js. We started this in class and left the program and its hosting page in the Resource Directory.
  • Create an HTML page that prompts for a JavaScript file name and adds the necessary tag to embed it in it.
  • Examine the DOM scripts in the Resource Directory and modify them so (1) they add a child to the list and (2) they do so when triggered by an event, e.g. a click, rather than as a “main method”.

Slides from Lecture

The Adobe Flash Plugin is needed to display this content.

js.txt · Last modified: 2008/08/29 19:08 by roumani