Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Using jQuery Plugins!
You have completed Using jQuery Plugins!
Preview
To make their plugin's more flexible and useful, many plugin creators will add "events" to their plugins. You can add your own programming to respond to these events to make the plugin even more useful
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
These interactions like clicking
on a link, typing into a form, or
0:00
mousing over a photo, are called events.
0:01
You can attach programming to events
to add interactivity to a web page.
0:05
For example,
when a visitor clicks on an image
0:09
you can make a larger version of
that image pop open on the page.
0:11
The event is the click and
0:15
the programming making the larger image
pop up is the response to that event.
0:17
We're used to events that are triggered
by a user, like clicking a link or
0:23
pressing a key on a keyboard, but
0:26
an event is really just something
that happens at a specific time.
0:28
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up