|
|
|
|
|
by yrwwywtywsrty
2528 days ago
|
|
Although I usually agree with the 'jQuery is overused' side of the crowd, I think your example is one of the times when I see that jQuery wins in ease and readability. The jQuery equivalent for this is $('.foo').addClass('bar'); |
|