0

Grid buttons and their values

So, I have buttons in an grid. The number of buttons will not be constant, how can I get their value when clicked? Best if viewed on mobile. https://code.sololearn.com/W5DX2v7d2wUQ/?ref=app

29th Nov 2020, 9:59 PM
Jeremy Cruz
Jeremy Cruz - avatar
2 Answers
+ 2
and if you use onclick events
29th Nov 2020, 10:08 PM
Daniel Briceño
Daniel Briceño - avatar
0
Damn, I didn’t think of that. I’m ashamed. Thanks!
29th Nov 2020, 10:09 PM
Jeremy Cruz
Jeremy Cruz - avatar