When to use Vanilla JavaScript vs. jQuery?

后端 未结 13 2069
独厮守ぢ
独厮守ぢ 2020-11-22 09:08

I have noticed while monitoring/attempting to answer common jQuery questions, that there are certain practices using javascript, instead of jQuery, that actually enable you

13条回答
  •  时光取名叫无心
    2020-11-22 09:33

    $(this) is different to this :

    By using $(this) you are ensuring the jQuery prototype is being passed onto the object.

提交回复
热议问题