James's BLOG
jQuery 取得元素名稱
jQuery
1.6以前使用
.attr('tagName')取得名稱,
1.6以後使用.prop('tagName')取得名稱.
參考
jQuery Attr:
http://api.jquery.com/attr/
jQuery Prop:
http://api.jquery.com/prop/
較新的文章
較舊的文章
首頁
訂閱:
文章 (Atom)