jquery查出元素名稱

<div onclick='$(this).prop("tagName")'></div>this

 

 

最後的結果   cli

  DIVdi

相關文章
相關標籤/搜索