Is there a method to determine the class of the item you just clicked... I have been working with the ID but a unique ID won't work in this case.
In other case, in the past - I have used the class to determine how many of a type of item there are, and then run interations :
var yestyle_checks_all = document.getElementsByClassName('yestyle_checks_all');
for (i = 1; i < yestyle_checks_all; i++) {
//do the iteration mambo here
}
and that worked awesomely!!! because its basically counting the number of them. however, my experience stops there and in this case I am looking at now, here is my scenario, and its Kinda the opposite of the above...
somone clicked on a thing. unique id doesnt work in the additional breakpoint layouts, can't use persistent symbols in this case...
so i need to know instead 1. what is the class of the object when its clicked on clicked on so I can 2. throw that into a variable and 3. run a switch command on that value