Does jQuery $(this) need to be cached

后端 未结 6 631
一生所求
一生所求 2021-01-13 14:05

I recently came accross some blog posts about jQuery performance (i.e. http://net.tutsplus.com/tutorials/javascript-ajax/10-ways-to-instantly-increase-your-jquery-performanc

6条回答
  •  借酒劲吻你
    2021-01-13 14:50

    My guess is that it would be useful if you were using $(this) multiple times.

    In your example I don't think it's gonna make that big a difference.

提交回复
热议问题