Most voted "event-handler" questions
Event manipulation is an encoding style about manipulating messages between a source and one or more subscribers. A "listener" point in the source provides a way that subscribing code can consume messages fired by the source.
Learn more…4 questions
Sort by count of
-
51
votes1
answer24387
viewsWhat is the difference in the use of Return false, Event.stopPropagation() and Event.preventDefault()?
Num Handler jQuery event, one can use return false, event.stopPropagation() and event.preventDefault() (or combinations thereof) to "cancel the action" of the event. I know there’s a difference in…
-
11
votes3
answers12452
viewsHow to perform a function after two or more asynchronous events?
I have a jQuery script that starts two or more asynchronous operations at the same time, and would like to run a callback when all they have been completed. An example would be to start an animation…
-
2
votes4
answers344
viewsConvert a Select with 2 option HTML to 2 Buttons
Context: Daily access a site several times during the day, of which before effectively entering, besides informing user and password, I have to select the type of access between the 2 existing, I…
-
0
votes1
answer1648
viewsHow do 'request' and 'Response' events work on Node.js?
Everybody knows how to use the request and response properly as callback parameters of the http.createServer, and that we use these two parameters as objects inside the callback. I searched the…