Example programs for Part 14

Click on the anchor to see the rendering.

Right click on the anchor and select 'Save Target As ...' to download the file.

Simple form that puts the sum of the numbers in two text boxes into a third [Sec. 14.1.3]

Copies the content of one textarea element into another, putting new lines between words [Sec. 14.1.4]

Simple example using a password field, a hidden field, a button, and a reset button [Sec. 14.1.5]

The last example with the form element eliminated and id attribute values used to access elements [Sec. 14.1.6]

Simple example of check boxes [Sec. 14.1.7]

The example of checkboxes with extended script [Sec. 14.1.7]

The example that finds the value of the checked radio button [Sec. 14.1.8]

Simple example with three radio buttons, a submit button, and an image button. [Sec.14.1.9]
Actually submitting the form results in a page-not-found error.
The bitmap file needed for this document

The example of input with type="file" [Sec. 14.1.10]

The example of the label, fieldset, and legend elements [Sec. 14.1.2]

Two select elements and a button that, when clicked, copies the values of the select elements into a div element [Sec. 14.3]

The example use of optgoup [Sec. 14.3]

The example with the onchange event [Sec. 14.4]

The example with the onfocus and onblur events [Sec. 14.5]

The IE version of the page that verifies reset and submit events [Sec. 14.6]
The Mozilla version of the same [Sec. 14.6]
The page that dispatches between the IE and Mozilla versions, depending on the browser used [Sec. 14.6]