views:

54

answers:

1

Where I can find a complete list of all jQuery supported events (like click, mouseup etc) with some explanations when they are triggered? I am looking for those that can be binded:

$('#foo').bind('click', handler);

For example I just found out by accident that there is paste event but I can't find any references to it anywhere in their docs. What else is there?

+1  A: 

A non exhaustive list is at http://api.jquery.com/category/events/. There are more DOM events supported through .bind() and .live(). Those functions can assign a handler to any standard DOM event, most of which are listed along with compatibility tables at http://www.quirksmode.org/dom/events/

The .bind() method is the primary means of attaching behavior to a document. All JavaScript event types, such as focus, mouseover, and resize, are allowed for eventType.

Andy E
All bind events is what I am looking for (not shortcut functions). Maybe I should rephrase my question.
serg
@serg555: I added a quirksmode.org link, most (if not, all) events are listed there along with compatibility tables for each browser. Note that Opera doesn't support the `paste` event.
Andy E
Thanks, great link.
serg
After taking a closer look it seems pretty outdated. For example it says `mouseleave` is working only in IE but it is not true.
serg
@serg555: actually, `mouseleave` is implemented by jQuery, it is not a standard event. Firefox and Chrome do not support it, I haven't checked Safari and Opera. jQuery provides this event in those browsers. you are right, though, some of the quirksmode.org stuff is outdated.
Andy E