•Methods are similar to
functions that belong to an object.
•Functions are similar
to methods that belong to the
script. Placed in head so they are loaded before they are called.
•An
event handler should be very short
–Many
handlers call a function to do their job (delegate).