CMPUT 410 Fall 2005
Web Based Information Systems
Material on JavaScript
Lab Information Page
Chapter 3 A of Knuckles and Yuen
The form TestForm.htmlis rendered with the
cascading stylesheet test.css. When the form
data is submitted using a GET method to the echo-env.cgi script on the server, the
QUERY_STRING variable is set. When the form data is submitted using a
POST method to the echo.cgi or the simpler echo0.cgi that uses the CGI perl module, the
server side script has to parse the HTTP message content.
Textbook examples
Another form: bigform.html
The formobject.html illustrating the BOM.
Calculator calculator.html
Shopping carts:
cart.html
cart2.html
cartax.html
JavaScript for constructing a simple HTML page: firstprogram.html
The onload/onunload events: loadevents.html
Events on following a link: linkevent.html
Data validation:
menuverify.html
textverify.html
Other examples
http://www.atmos.washington.edu/%7Eovens/javascript/jsindex.html
http://www.cs.ualberta.ca/~ayman/c499/Labs/JSexamples.htm
http://www.cs.ualberta.ca/~ayman/c499/drag-n-drop/layers.htm
Documentation for BOM (Browser Object Model) or HTML DOM (Document Object Model)
http://www.w3schools.com/htmldom