Skip to main content

Questions tagged [event-listener]

An abstract object that is triggered when a particular event occurs in the application or system.

event-listener
0 votes
1 answer
18 views

How to Send Email When a JWT Token is Issued for a User in Keycloak

I have implemented a custom event listener in Keycloak that sends an email whenever a user logs in. Now, I want to change it so that it sends an email when a JWT token is issued to a user. Below is my ...
user13347928's user avatar
0 votes
1 answer
40 views

How do I make a dropdown list open as soon as an option from another drop-down list is selected?

In this product upload form, I have five drop-down list fields created using HTML (2 selects and 3 data lists with text area), and I have embedded Javascript to dynamically populate the options in the ...
Louis's user avatar
  • 1
1 vote
0 answers
39 views

How to Reinitialize JavaScript Functionality for Dynamically Added Elements Without Duplicate Event Listeners?

I am developing a social media platform using Django for the backend and a purchased HTML template from ThemeForest for the frontend. The template was built using React and then exported to plain HTML,...
Adekojo Emmanuel's user avatar
0 votes
1 answer
14 views

i want to create a modal, when i click on button having id a modal should be opened having card

i have created a courses page and create a fullscreen which should be opened when button is clicked modal is also opened but i am having an error in JS. let value = colc[details.target.id] if(details....
faryal sz's user avatar
0 votes
1 answer
43 views

How to run a JavaScript method after livewire component update and re-rendering?

I want to run a javascript method called makeFinalAdjustments(), but it needs to happen after the page has finished re-rendering the content following a click event inside this livewire component: //...
Urbycoz's user avatar
  • 7,351
0 votes
0 answers
21 views

Unmuting a video upon 'enter section' with id="videos" and vice versa mute upon 'leave section'... Event Listener?

I am desperatly trying to find somewhere where I can control the audio of a (unmute/mute) upon 'entering a specific section' and vice versa, mute upon 'leave section'... Is this controlled by an JS ...
Mike Lowrider's user avatar
0 votes
0 answers
7 views

An event listener using named function with arguments of element id's and then remove event listener upon completion of task [duplicate]

I was making a tic tac toe using JS . It came out fine but even after a player wins it still let us mark down the empty boxes. So i tried to enclose the main program into a named function and passed ...
Aman Kaushik's user avatar
0 votes
1 answer
27 views

JavaScript is not working when Thymeleaf th:field attribute is added

I am trying to add dollar signs to multiple fields using an event listener. However, attribute th:field will replace attributes value and name in the input tag. I know the function is working because ...
Ali's user avatar
  • 23
2 votes
2 answers
88 views

Add a dollar sign with an Event Listener

I am very new to this - how can I add a dollar sign using an event listener? Currently I have: let dol = document.querySelector('#dollar'); dol.addEventListener('keyup', function(e) { { dol.value = ...
Ali's user avatar
  • 23
0 votes
0 answers
26 views

when call a function out of eventlistener function an error appears

click Butten to initialize 2. click the square and the error appear Why only in func clickCell() it's not possible to call func(2)? I have reduced the code as much as I can and hope anybody knows ...
Mike's user avatar
  • 1
1 vote
0 answers
61 views

Symfony 7.0 - Can't get user details in Event Listener

I use Symfony 7.0 framework. I got stuck with this for a few days. Googled, used AI chat, read documentation, but nothing helped. I can't get use details inside of my Event Listener class from ...
Aleksandar Zivanovic's user avatar
0 votes
1 answer
38 views

Fixing issues with window scrolling for a "sliding door" style animation controlled by a scroll event in javascript

I am a noob at webdev and I've been trying to learn by putting together some type of portfolio website. I've seen some examples of people who have cool effects on their landing pages and I want to do ...
Zadig__'s user avatar
0 votes
1 answer
48 views

Spring: How to rollback in a @TransactionalEventListener of phase BEFORE_COMMIT

In Spring Boot 3.x I have transactional-event-listeners. One is bound to phase "BEFORE_COMMIT" and responsible for doing some "last millisecond checks" before the transaction ...
Stephan Pelikan's user avatar
0 votes
0 answers
26 views

Multiple google.visualization.events.addListener in Google Charts do not work together

I have a problem with a conflict between multiple event listeners in a Google Chart display. I have a Google Pie Chart with three event listeners, an onmuseover, an onmouseout and a ready event. The ...
Felix's user avatar
  • 31
2 votes
0 answers
42 views

visibilitychange not firing on browser close in firefox

I am trying to send some data for analytics on browser close and the visibilitychange event listener is not being triggered on browser close on firefox. This works as expected in chrome. MDN says this ...
prajot surey's user avatar

15 30 50 per page
1
2 3 4 5
172