How can I get name of element with jQuery?

前端 未结 7 906
执笔经年
执笔经年 2021-01-30 07:49

How can I get name property of HTML element with jQuery?

7条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-30 08:29

    If anyone is also looking for how to get the name of the HTML tag, you can use "tagName": $(this)[0].tagName

提交回复
热议问题