Documentation for events like input, paste, etc?
I just discovered j开发者_开发技巧query has more events it can capture than is listed on the events page.
I'd like to know more about events like input, paste, and others that aren't in the main jquery documentation. Where are these features documented?
jQuery event methods like .click(function(){})
are just shortcuts for .bind('click',function(){})
.
As stated in the jQuery bind documentation the first argument to the bind method is the:
eventType
A string containing one or moreJavaScript event types
, such as "click" or "submit," or custom event names.
This means that jQuery supports all Javascript event types, though not all of them have shortcut methods.
Here is a complete list of Javascript events. If you need more info search The MDC (Mozilla's Doc Center) or W3C
精彩评论