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

如上图,这时的this是 #document.,原来是打算find之后,让this是 "span",改写如下 ok,,find()取到span之后,另外执行的,用原来的jquery对象,如果是find()抓到span后,加上.each(function()的,把span作为this. 完整代码如下: <!DOCTYPE html> <html> <head> <meta charset="utf-
相关文章
相关标签/搜索