JavaScript Notes

a javascript function defined in the header. (It is in the header so that it is already in memory before the BODY loads.) a javascript function activated by an event (the onload event) The next exercise takes a more careful . look at functions and events. Script 3. The following script will enable you to create two boxes into which numbers can be inserted and the product of the two numbers ... ................
................