为什么80%的码农都做不了架构师?>>> 获取当前对象标签名称 $(".classname")[0].tagName; 转载于:https://my.oschina.net/zhouz/blog/213101