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