Is it possible, and if so how? To number HTML tags, for example if someone pushes a button which calls a javascript method, the method can identify which button was pushed by its number. I then want to change the button’s image, by putting all the image file names in an array so its easy to change the image using 1 line of JavaScript.
Share
You can use Custom Attributes for this: