有没有简单的方法来获取标签名称?
例如,如果我被赋予$('a')一个函数,我想得到'a'.
$('a')
'a'
javascript jquery jquery-selectors
javascript ×1
jquery ×1
jquery-selectors ×1