Top "Event-handling" questions

Event handling is a coding style about handling messages between a source and one or more subscribers.

Javascript event handler with parameters

I want to make an eventHandler that passes the event and some parameters. The problem is that the function doesn't …

javascript events event-handling handler
Get clicked element using jQuery on event?

I'm using the following code to detect when a dynamically generated button is clicked. $(document).on("click",".appDetails", function () { alert("…

jquery event-handling click jquery-events
Android Overriding onBackPressed()

Is it possible to override onBackPressed() for only one activity ? On back button click I want to call a dialog …

android android-intent event-handling overriding
Detecting Browser Autofill

How do you tell if a browser has auto filled a text-box? Especially with username & password boxes that autofill …

javascript jquery events event-handling autofill
the getSource() and getActionCommand()

What is getSource? and what does it return? and what is getActionCommand() and what does it return?? I am getting …

java swing user-interface event-handling action
Pass parameter to EventHandler

I have the following EventHandler to which I added a parameter MusicNote music: public void PlayMusicEvent(object sender, EventArgs e,…

c# event-handling parameter-passing
How to call function on child component on parent events

Context In Vue 2.0 the documentation and others clearly indicate that communication from parent to child happens via props. Question How …

javascript vue.js event-handling vuejs2
How can I be notified when an element is added to the page?

I want a function of my choosing to run when a DOM element is added to the page. This is …

javascript dom event-handling mutation-observers change-notification
Fake "click" to activate an onclick method

I have an element with an onclick method. I would like to activate that method (or: fake a click on …

javascript event-handling