0% found this document useful (0 votes)
55 views

Event Helpers - JQuery Learning Center

muy bueno

Uploaded by

silvio valdes
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views

Event Helpers - JQuery Learning Center

muy bueno

Uploaded by

silvio valdes
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Plugins (https://plugins.jquery.com/) Contribute (https://contribute.jquery.

org/)

Events (https://js.foundation/events) Support (https://jquery.org/support/)

JS Foundation (https://js.foundation/)

E1MjE4OTk2NjMwMzQsImJmIjp0cnVlLCJwbiI6ImJyb2FkY2FzdCIsInVyIjoiaHR0cHM6Ly9qcXVlcnkub3JnL2RvbmF0ZS8ifQ&

Home (http://learn.jquery.com)

About (http://learn.jquery.com/about/)

Contributing (http://learn.jquery.com/contributing/)

Style Guide (http://learn.jquery.com/style-guide/)

Be /#
ta be
Posted in: Events (http://learn.jquery.com/events/)

(/ ta)
Chapters

ab
Event Helpers

ou
t
 About jQuery
(//learn.jquery.com jQuery offers a few event-related helper functions that save you a few
/about-jquery/) keystrokes. Here is an example of one, the .hover() function.

 Using jQuery Core .hover()


(//learn.jquery.com
The .hover() (http://api.jquery.com/hover/) method lets you pass one or
/using-jquery-core/)
two functions to be run when the moueenter and moueleave events
Frequently Asked occur on an element. If you pass one function, it will be run for both events;
Questions if you pass two functions, the first will run for moueenter , and the second
(//learn.jquery.com will run for moueleave .
/using-jquery-
core/faq/) Note: Prior to jQuery 1.4, the .hover() method required two functions.

 Events
1 // The hover helper function
(//learn.jquery.com 2 $( "#menu li" ).hover(function() {
/events/) 3 $( thi ).toggleCla( "hover" );
4 });
 Effects
(//learn.jquery.com
You can find more helper functions on the API site for Events
/effects/)
(https://api.jquery.com/category/events/).
 Ajax
(//learn.jquery.com
/ajax/)  jQuery Event Basics Introducing Events 
 Plugins (http://learn.jquery.com (http://learn.jquery.com
(//learn.jquery.com
/events/event-basics/) /events/introduction-
/plugins/)
to-events/)
 Performance
(//learn.jquery.com
/performance/)
Last Updated Suggestions,
 Code Organization Problems, Feedback?
(//learn.jquery.com  December 17, 2015
 Open an Issue or
/code-organization/) Submit a Pull Request on
GitHub
Deferreds (https://github.com
/jquery
(//learn.jquery.com
/learn.jquery.com
/code- /tree/master
organization /page/events/event-
helpers.md)
/deferreds/)

 jQuery UI
(//learn.jquery.com
/jquery-ui/)
Widget Factory
(//learn.jquery.com
/jquery-ui/widget-
factory/)

Using jQuery UI
(//learn.jquery.com
/jquery-
ui/environments/)

 jQuery Mobile
(//learn.jquery.com
/jquery-mobile/)

BOOKS

Learning jQuery jQuery in Action jQuery Succinctly


Fourth Edition Bear Bibeault, Yehuda Cody Lindley
Karl Swedberg and (http://www.syncfusion.com
Katz, and Aurelio De
Jonathan Chaffer Rosa /resources
(https://www.manning.com
(https://www.packtpub.com /techportal/ebooks
/web-development /books/jquery- /jquery?utm_medium=BizDev-
/learning-jquery- in-action-third- jQuery.org0513)
fourth-edition) edition?a_bid=bdd5b7ad&
a_aid=141d9491)

Copyright 2018 The jQuery Foundation (https://jquery.org


/team/). jQuery License (https://jquery.org/license/)
 Learning Center (http://learn.jquery.com/)

Web hosting by Digital Ocean (http://digitalocean.com) |  Forum (http://forum.jquery.com/)


CDN by StackPath (http://www.stackpath.com)
 API (http://api.jquery.com/)

 Twitter (https://twitter.com/jquery)

 IRC (http://irc.jquery.org/)

 GitHub (https://github.com/jquery)

You might also like