Answer the question
In order to leave comments, you need to log in
Is it possible to immediately take the newly created tag using js into a variable without reloading the page?
Hi all.
https://codepen.io/Shmulhe/pen/Baojgmz
There is such a simple code. We drive words in Russian and English, they are added to the table. A button is also added that deletes these words (deletes table row from local storage as well). But there is a problem, in a variable:
let delWords = document.querySelectorAll('.delbtn');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question