An Introduction to Events
You’ve been writing code that runs when the document is ready, as I’ve explained. This is an event that you’re attaching code to. It is also known as binding. You have bound some code to run on a certain event. In this chapter, you will look at the type of events, and at the end of the chapter, use your new knowledge ...