Using e
is just a short for event
. You can pass any variable name you desire.
// would work just the same
$('#myTable').click(function(anyothername) {
var clicked = $(anyothername.target);
});
You can check out more on jQuery’s handling of events.
More Related Contents:
- jQuery Event Keypress: Which key was pressed?
- Definitive way to trigger keypress events with jQuery
- What is the difference between the mouseover and mouseenter events?
- JavaScript / jQuery: Test if window has focus
- How to stop event bubbling on checkbox click
- Difference between “change” and “input” event for an `input` element
- Resize event for textarea?
- How do you log all events fired by an element in jQuery?
- ‘this’ does not work properly in another event. I’m clueless as to why [duplicate]
- jQuery equivalent of JavaScript’s addEventListener method
- Get index of clicked element in collection with jQuery
- How to stop default link click behavior with jQuery
- Attach an event in a child iframe to a handler in the parent window
- Changing the keypress
- JavaScript: DOM load events, execution sequence, and $(document).ready()
- jQuery live scroll event on mobile (work around)
- how to move a div with arrow keys
- jQuery prevent change for select
- jQuery Change event on an element – any way to retain previous value?
- jQuery Mobile : What is the order of page events triggering?
- How to know if .keyup() is a character key (jQuery)
- How do I handle a click anywhere in the page, even when a certain element stops the propagation?
- How to unbind a specific event handler
- Event propagation in Javascript
- List all javascript events wired up on a page using jquery
- jQuery – How can I temporarily disable the onclick event listener after the event has been fired?
- How to disable mouseout events triggered by child elements?
- Prototype equivalent for jQuery live function
- Unloading/Removing content from an iFrame
- jquery keypress event object keyCode for firefox problem?