I'm testing Onclick on JS and I'm strange about a business, it works only when I paste it into the document.querySelector('.a').onclick = teste2(); console, or the first time I run / open the page. If I click on the element I'm catching,...
asked by
03.06.2018 / 05:22