Form Example (cont’d)
confirm is a method of the Window object which pops up a window requesting confirmation of requested action
eval is a built-in JavaScript function
onClick is a JavaScript event handler and onClick =“your stuff” executes JavaScript code yourstuff
Note the user-defined names (aForm, expr, result) referred to in the script