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 | 80 | December 18, 2007 | |
Array Buttons and Event Handler | 0 | 152 | December 18, 2007 | |
Instance names in array?
|
0 | 124 | April 19, 2012 | |
addEventListener functions with a for loop? | 0 | 120 | November 17, 2010 | |
Using array data as button list
|
0 | 118 | December 12, 2007 |