Form Example (cont’d)
confirm is a method of the Window object
eval is a built-in JavaScript function
onClick is a JavaScript event handler
Note the user-defined names of the form and text fields referred to in the script
Previous slide
Next slide
Back to first slide
View graphic version