Here are examples that go with Lecture 22, an introduction to JavaScript.

Keep in mind that some of these examples dated. Yet they are being maintained because the very stylistic conventions that make them dates also helps bring to the surface some of the underlying mechanics of JavaScript. In particular, how JavaScript relates to the Object Model (DOM) that are hidden by more modern techniques; most notably jQuery.

Here is a file you may download with the actual php content: lec22.zip