Load advanced jQuery version on page ready

  • My page is loaded with jQuery 1.4.4
  • On page ready I want to dynamically load jQuery 1.11.1
  • My question is: There is a way to load advanced version of jQuery (1.11.1) with current jQuery (1.4.4)?
  • I've tried to use jQuery.getScript() in order to dynamically load JavaScript files and it worked fine, but the only file that didn't loaded is the jQuery 1.11.1 version

    I know how can I do it with native JavaScript code, but I want a cross browser solution so it have to be with using of the current jQuery (1.4.4).


    您可以通过jQuery.noConflict() (docs)独立使用您的jQuery版本。

    链接地址: http://www.djcxy.com/p/42496.html

    上一篇: 将PHP包含在JavaScript(.js)文件中

    下一篇: 在页面上加载高级jQuery版本