Web-centric Computing

Some Example Code

JavaScript Dual Presentation

Part 3: What about the pop-up dialogue box?

The dialogue box is the result of


Questions

  1. Why must the Content-Script-Type be present?
  2. Do we need two type of quotation marks in the onload?
  3. Can we write onLoad (with uppercase L) instead?
  4. What will happen if the HTML file is read by a browser that doesn't understand JavaScript?


http://www.cs.dal.ca/~jamie/course/CS/3172/examples/JS/dual_presentation/3-body.html
Version:
25 April 2002
Author:
J. Blustein <jamie@cs.dal.ca>