Timeline for jQuery and multiple classes selecting only a single class
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 24, 2013 at 5:56 | vote | accept | jmenezes | ||
Oct 24, 2013 at 5:56 | |||||
Oct 23, 2013 at 15:17 | comment | added | brandonscript | Perhaps you don't have the ability to change the way the code is generated, but you'd have a much easier time leaving class to govern the styling or common functions, and using a unique ID property for each to which you can bind unique functions. | |
Oct 23, 2013 at 15:11 | comment | added | jmenezes |
It might be worth evaluating whether you could give each element it's own click handler though, if all the code for each is different. You mean... ?
|
|
Oct 23, 2013 at 15:05 | history | answered | Jason P | CC BY-SA 3.0 |