Posts by Anderson Leandro • 1 point
1 post
-
-2
votes1
answer35
viewsQ: Return two functions in a JS onclick event
My question is simple, suppose I have a button, when I once click on it I want to run a function as you can see below: function ativar() { var btn = document.getElementsByTagName("button");…