Posts by Daniel dos Santos • 1 point
1 post
-
-2
votes1
answer19
viewsQ: Javascript handling through a button multiple snippets of Html text
The code below works for a specific ID, I needed a code that affects several elements and not just a specific id. function myFunction() { var x = document.getElementById("myDIV"); if…