
- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are jQuery Event Helper Methods?
jQuery also provides a set of event helper method which can be used either to trigger an event to bind any event types mentioned above.
Trigger Methods
The following is an example which would triggers the blur event on all paragraphs −
$("p").blur();
Binding Methods
The following is an example which would bind a click event on all the <div> −
$("div").click( function () { // do something here });
Here are some of the jQuery Event Helper methods:
S. No | Method & Description |
1. | blur() Triggers the blur event of each matched element. |
2. | blur( fn ) Bind a function to the blur event of each matched element. |
3. | click( ) Triggers the click event of each matched element. |
4 | click( fn ) Binds a function to the click event of each matched element |
5 | dblclick( ) Triggers the dblclick event of each matched element. |
6. | focus( fn ) Binds a function to the focus event of each matched element. |
- Related Questions & Answers
- What are Event Methods in jQuery?
- What are jQuery string methods?
- What are event attributes in jQuery?
- What are the methods in jQuery to manipulate attributes?
- What are the methods used to provide effects in jQuery?
- What is an Event Object in jQuery?
- Bootstrap Helper Classes
- What are Hierarchical Methods?
- What is the difference between jQuery add() & jQuery append() methods in jQuery?
- What are jQuery Selectors?
- What are methods in Java?
- What is the difference between Ajax and jQuery-Ajax methods in jQuery?
- What are event handlers in JavaScript?
- What are defender methods or virtual methods in Java?
- What are jQuery AJAX Events?
Advertisements