JavaScript getting an elements class without any libraries

前端 未结 4 694
隐瞒了意图╮
隐瞒了意图╮ 2020-12-10 09:53

I would like to get the value of the class attribute for an element using JavaScript. However in this particular situation I don\'t have the luxury of libr

4条回答
提交回复
热议问题