Getting the class of the element that fired an event using JQuery

后端 未结 6 1281
独厮守ぢ
独厮守ぢ 2021-01-30 08:04

is there anyway to get the class when click event is fired. My code as below, it only work for id but not class.

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