How to be a jQuery no.conflict expert?

后端 未结 3 597
误落风尘
误落风尘 2020-12-15 01:51

How to be a jQuery no.conflict expert?

I mostly face jQuery conflict errors with Prototypes JS. and I\'m nota jquery expert.

Can I still solve all conflict p

3条回答
  •  自闭症患者
    2020-12-15 02:26

    Instead of using the $ shortcut, call jQuery.noConflict() and use the full length jQuery() object when using jQuery functionality.

    For example:

    
    

提交回复
热议问题