HTML and CSS Reference
In-Depth Information
Figure 11.24 Form data is displayed in another window, called a popup window.
11.5 Programming Input Devices (Controls)
With JavaScript, you can alter the contents of the form's input devices dynamically (also
called controls or elements). Because each input device is an object, each has properties
and methods, and can be manipulated like any other JavaScript object (i.e., it can be
assigned to, changed, deleted, etc.). You can program checkboxes, assign values to text
areas and textboxes, change the value in fields, add choices to drop-down menus, verify
password entries, and do all of this on the fly. The following section shows you how to
program input devices.
Search WWH ::

Custom Search