Using Event Helpers

Some types of events are fairly common, and jQuery provides shorthand helper functions to make your code a little easier to write and read. Some examples:

Mouse over this div to see the hover effect. Try clicking and double-clicking.