Is it possible to load multiple different version of jQuery on the same page?

前端 未结 4 1464
天命终不由人
天命终不由人 2020-12-17 03:13

I\'m making a bookmarklet which will load jQuery if the object is not found. The loading will check on the version of jQuery. The code is like:

(function(){
         


        
4条回答
  •  鱼传尺愫
    2020-12-17 03:56

    Check this blog

    You can use the method

    $.noConflict(true);
    

    to accomplish this. For example:

    
    
    
    

提交回复
热议问题