Posts by Walter • 11 points
1 post
-
-1
votes3
answers90
viewsA: How to put two functions in onclick for one to be done if the other works
Hello, a simple way to do this is by capsuling your functions into a third: EX: JS: const funcao1 = (event) => {...} const funcao2 = (event) => {...} const funcaoEmcapsulada = (event) => {…
javascriptanswered Walter 11