jQuery 中 this 與 $(this) 的差異

this 為javascript 觸發事件(event)的物件本身
而$(this)就是把該物件轉成jQuery物件
此時才可對$(this)使用jQuery的函式

沒有留言:

張貼留言