Posts by João Felipe Lima • 1 point
2 posts
-
-1
votes1
answer179
viewsQ: Changing the id of an element
I created a table with buttons where each one receives a different id, all have the same prefix changing only the end, which goes from 0 to 99. const cellArray = [] let cellWidth = 10 let cellHeight…
javascriptasked João Felipe Lima 1 -
0
votes0
answers22
viewsQ: JS - know the id of the button clicked to use in a function
I created a table with a series of buttons, 100 in all, and each button received an id that is generated automatically. I want to know how to get the id of the button that was clicked, because I…
javascriptasked João Felipe Lima 1