$(this)與this的區別

$$(this)的$表示jquery,整體其實也就是jquery(),他返回的是一個jquery對象, 而this返回的是一個html對象。html $('#desktop a img').each(function(index){ alert($(this)); alert(this); }) 那麼,這時候能夠看出來: jquery alert($(this)); 彈出的結果是
相關文章
相關標籤/搜索