Get the raw event from jQuery
Is it possible to have access to the original, raw, non-normalized event from the function passed in to bind/live in jQuery? If yes, h开发者_开发知识库ow?
You can use the originalEvent
property of the Event object:
$(selector).bind("click", function(e) {
var originalEvent = e.originalEvent;
// ...
});
精彩评论