Web Development with jQuery®

(Elliott) #1

Appendix D (^) ❘ 521
event.stopPropagation() Stops the propagation of an event from a child or descen-
dent element to its parent or ancestor elements, which
prevents the same event from running on the later ances-
tor elements.
event.target The DOM element that triggered the event.
event.timeStamp The difference in milliseconds between the time the
browser created the event and the UNIX epoch (January
1st, 1970, 12:00:00 AM).
event.type Provides the type of event, for example, click,
mouseover, keyup, and so on.
event.view Returns the Window object the event happened in. In non-
browsers, this may be referred to as the AbstractView.
event.which Returns the numeric keyCode of the key pressed, or the
character code, or charCode, for an alphanumeric key that
was pressed.
http://www.it-ebooks.info

Free download pdf