Jquery 获取元素标签名称

Jquery的获取元素标签名称的方法:
 
1、$( this ).get(0).tagName
2、$( this )[0].tagName
3、$( this ).prop("tagName")
4、$( this ).prop("nodeName")
posted @ 2018-03-29 12:19  白纱茗-度C  阅读(500)  评论(0编辑  收藏  举报