Response title
This is preview!
Deprecated as of jQuery 1.8:
The name"hover"
used as a shorthand for the string"mouseenter mouseleave"
. It attaches a single event handler for those two events, and the handler must examineevent.type
to determine whether the event ismouseenter
ormouseleave
. Do not confuse the "hover" pseudo-event-name with the.hover()
method, which accepts one or two functions.
© 2013 jQuery Foundation
Sponsored by and others.