 |
jQuery - Wikipedia, the free encyclopedia
Callback functions for event handling are also included inside .ready() as anonymous functions but called when the event for the callback is triggered. For example, the following jQuery code adds an event handler for a mouse click on an img image element.
en.wikipedia.org |
 |