Re:The Future of JQuery UI and JQuery Mobile
by krapp on Friday December 22, 2017 @09:33AM
(#15987679)
Unfortunately, document.getElementsByClassName isn't universally supported[0], so even if you wanted to do it that way, it still wouldn't be that easy. Never is.
[0]https://caniuse.com/#feat=getelementsbyclassname