Top "Events" questions

An event is a way for a class to provide notifications to listeners when a particular thing happens.

Is there an equivalent to e.PageX position for 'touchstart' event as there is for click event?

I'm trying to get the X position with jQuery of a touchstart event, used with the live function? I.e. $(…

javascript jquery events click touch
What's the difference between the Window.Loaded and Window.ContentRendered events

What's the difference between the Window.Loaded and Window.ContentRendered events in WPF? Is the ContentRendered event called first? The …

wpf events window
onKeyDown event not working on divs in React

I want to use a keyDown event on a div in React. I do: componentWillMount() { document.addEventListener("keydown", this.onKeyPressed.…

reactjs events keypress keydown
How do you detect the clearing of a "search" HTML5 input?

In HTML5, the search input type appears with a little X on the right that will clear the textbox (at …

javascript jquery html events dom-events
How to implement a lock in JavaScript

How could something equivalent to lock in C# be implemented in JavaScript? So, to explain what I'm thinking a simple …

javascript events locking dom-events deadlock
How can I clear event subscriptions in C#?

Take the following C# class: c1 { event EventHandler someEvent; } If there are a lot of subscriptions to c1's someEvent …

c# .net events delegates
onHide() type event in jQuery

Does anyone know of an onHide() event or something similar in jQuery? I tried: $(this).bind('hide', function(){ console.log(…

jquery events javascript-events
What is the difference between the mouseover and mouseenter events?

I have always used the mouseover event, but while reading the jQuery documentation I found mouseenter. They seem to function …

javascript jquery events javascript-events
Android event for internet connectivity state change

I am making an app where a user is uploading information and files to my server on a somewhat frequent …

android events connection connectivity
Javascript with jQuery: Click and double click on same element, different effect, one disables the other

I have an interesting situation - I have a table row which, currently, shows it's hidden counterpart when I click …

javascript jquery events event-bubbling propagation