I’ve been lookign around for this but cant seem to find how to do it. How do you make a array of buttons then call it in a event listner? The idea is that I don’t have to creat code for each button. it can just run it over for each button.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Array Buttons | 0 | 82 | December 18, 2007 | |
| Array Buttons and Event Handler | 0 | 155 | December 18, 2007 | |
|
Using array data as button list
|
0 | 121 | December 12, 2007 | |
|
Instance names in array?
|
0 | 127 | April 19, 2012 | |
| addEventListener functions with a for loop? | 0 | 121 | November 17, 2010 |