python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Trying to change Speech bubble text when User submits name input
I have 2 javascript files.
js file 1 contains the time delay for a speech bubble to appear with animation
see js file 1 code
let bubble = document.getElementById("speach-bubble");
let noDisp...
AspiringDev
Votes: 0
Answers: 0
Replace innerHTML with another method to avoid destroying event handler
In my app when I search in the search bar, a dropdown menu would appear, and when I click on the dropdown-item, new info is parsed using innerHTML method.
However, the associated event handler is also...
tommy-ling
Votes: 0
Answers: 0
How to detect changes in a directive when innerHTML code is updated in angular?
I am testing a directive that is adding to divs, these are implementing innerHTML, the directive is in charge of highlingthing with a click on the div (changing the color), but I want to change when t...

Tabares
Votes: 0
Answers: 1
Calling a javascript function with parameters in innerHTML
I'm trying to build my own comment system.
Here's the code that show a comment box when clicking on the "Reply" button:
function postComment(i, parentId) {
let content;
if (parentId ...
quanta
Votes: 0
Answers: 1