1. 程式人生 > >Jquery 獲取元素標簽名稱

Jquery 獲取元素標簽名稱

get spa size this jquer tro ont 名稱 -s

Jquery的獲取元素標簽名稱的方法: 1、$( this ).get(0).tagName 2、$( this )[0].tagName 3、$( this ).prop("tagName") 4、$( this ).prop("nodeName")

Jquery 獲取元素標簽名稱