$(this) 中的this 到底是指什麼

如上圖,這時的this是 #document.,原來是打算find之後,讓this是 "span",改寫如下 ok,,find()取到span之後,另外執行的,用原來的jquery對象,如果是find()抓到span後,加上.each(function()的,把span作爲this. 完整代碼如下: <!DOCTYPE html> <html> <head> <meta charset="utf-
相關文章
相關標籤/搜索